Changeset 2580
- Timestamp:
- 04/19/10 08:46:39 (14 years ago)
- Location:
- trunk/phpgwapi
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/inc/class.javascript.inc.php
r2578 r2580 138 138 { 139 139 $filePath=PHPGW_INCLUDE_ROOT.SEP.$app.SEP.'js'.SEP.$pkg.SEP.$file.'.js'; 140 $script .= file_get_contents($filePath) .";\n";140 $script .= file_get_contents($filePath); 141 141 } 142 142 } … … 162 162 $fp = fopen($filePath, 'w'); 163 163 require_once('class.JavaScriptPacker.php'); 164 $packer = new JavaScriptPacker($script, ' Normal', true, false);164 $packer = new JavaScriptPacker($script, 'High ASCII', true, true); 165 165 $packed = $packer->pack(); 166 166 fwrite($fp, $packed); -
trunk/phpgwapi/js/dftree/dftree.js
r2563 r2580 61 61 if (i.charAt(0) != '_') 62 62 { 63 eval('this.'+i+' = arrayProps[ \''+i+'\'];');63 eval('this.'+i+' = arrayProps["'+i+'"];'); 64 64 } 65 65 } … … 121 121 if (i != 'id' && i.charAt(0) != '_') 122 122 { 123 eval('this.'+i+' = arrayProps[ \''+i+'\'];');123 eval('this.'+i+' = arrayProps["'+i+'"];'); 124 124 } 125 125 } … … 404 404 if (i.charAt(0) != '_') 405 405 { 406 eval('this.'+i+' = arrayProps[ \''+i+'\'];');406 eval('this.'+i+' = arrayProps["'+i+'"];'); 407 407 } 408 408 }
Note: See TracChangeset
for help on using the changeset viewer.