Author: jmorliaguet Date: Fri Feb 17 23:03:23 2006 New Revision: 2407 Modified: cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js Log:
- not rendering the view when it is supposed to be rendered is not a good idea, since DOM events can get registered several time. optimizations are to be made instead in the communication between the storages and the model. 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 Fri Feb 17 23:03:23 2006 @@ -1390,11 +1390,7 @@ var node = document.createElement("div"); node.innerHTML = this.source; ctal.process_ctal(node, data); - var old_html = this.widget.innerHTML; - var new_html = node.innerHTML; - if (new_html != old_html) { - this.widget.innerHTML = node.innerHTML; - } + this.widget.innerHTML = node.innerHTML; } } -- http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins