Author: jmorliaguet Date: Sat Feb 11 14:13:47 2006 New Revision: 2349 Modified: cpsskins/branches/jmo-perspectives/ui/framework/ctal.js Log:
- a shallow copy should be used Modified: cpsskins/branches/jmo-perspectives/ui/framework/ctal.js ============================================================================== --- cpsskins/branches/jmo-perspectives/ui/framework/ctal.js (original) +++ cpsskins/branches/jmo-perspectives/ui/framework/ctal.js Sat Feb 11 14:13:47 2006 @@ -210,6 +210,7 @@ ctal.eval_pathexpr = function(data, path) { var pathelems = path.split("/"); + // XXX use a shallow copy var traverse = data; for (var i=0; i < pathelems.length; i++) { if (typeof traverse[pathelems[i]] == "undefined") { -- http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins