Author: jmorliaguet Date: Sat Mar 4 22:18:10 2006 New Revision: 2526 Modified: cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js Log:
- saving DOM space Modified: cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js ============================================================================== --- cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js (original) +++ cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js Sat Mar 4 22:18:10 2006 @@ -247,6 +247,8 @@ } // store the component's id on the node el.id = id; + // remove the definition from the DOM + el.innerHTML = ''; switch(classid) { @@ -1405,7 +1407,9 @@ refresh: function() { var data = this.readData(); - if (data) this.display(data); + if (data) { + this.display(data); + } }, display: function(data) { -- http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins