Changeset 41
- Timestamp:
- 03/19/05 12:49:39 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/Linker/linker.js
r39 r41 16 16 HTMLArea.Config.prototype.Linker = 17 17 { 18 'backend' : _editor_url + 'plugins/Linker/scan.php' 18 'backend' : _editor_url + 'plugins/Linker/scan.php', 19 'files' : null 19 20 } 20 21 … … 311 312 if(this.files == false) 312 313 { 313 HTMLArea._getback(linker.lConfig.backend, function(txt) { lDialog.files = eval(txt); lDialog._prepareDialog(); }); 314 if(linker.lConfig.backend) 315 { 316 //get files from backend 317 HTMLArea._getback(linker.lConfig.backend, 318 function(txt) { lDialog.files = eval(txt); lDialog._prepareDialog(); }); 319 } 320 else if(linker.lConfig.files != null) 321 { 322 //get files from plugin-config 323 lDialog.files = linker.lConfig.files; 324 lDialog._prepareDialog(); 325 } 314 326 return; 315 327 }
Note: See TracChangeset
for help on using the changeset viewer.