Author: jmorliaguet
Date: Sun Feb 12 22:39:17 2006
New Revision: 2372

Modified:
   cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js
Log:

- removed rendering artefact where the template was displayed before being
  interpreted.



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 Sun Feb 12 
22:39:17 2006
@@ -1244,8 +1244,10 @@
 
   render: function(data) {
     if (this.source) {
-      this.widget.innerHTML = this.source;
-      ctal.process_ctal(this.widget, data);
+      var node = document.createElement("div");
+      node.innerHTML = this.source;
+      ctal.process_ctal(node, data);
+      this.widget.innerHTML = node.innerHTML;
     }
   }
 
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to