Author: jmorliaguet
Date: Sat Mar  4 13:39:15 2006
New Revision: 2521

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

- fix: script resources where not loaded correctly.



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 
13:39:15 2006
@@ -820,7 +820,7 @@
     var head = document.getElementsByTagName("head")[0];
     var script = document.createElement("script");
     script.id = "cpsskins-script-" + id;
-    script.href = src;
+    script.src = src;
     script.type = "text/javascript";
     head.appendChild(script);
     this._scripts[id] = src;
@@ -1534,7 +1534,7 @@
     var url = data.url;
     var script = data.script;
     if (script) {
-      this.script_id = this.id;
+      this.script_id = this.def.model;
       CPSSkins.Canvas.addScript(this.script_id, script);
     }
 
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to