Changeset 1748 for sandbox/filemanager/js/common_functions.js
- Timestamp:
- 12/04/09 13:15:05 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/filemanager/js/common_functions.js
r1741 r1748 1 1 function load(path){ 2 2 currentPath = path; 3 cExecute(' /index.php?menuaction=filemanager.uifilemanager.get_permissions&path='+base64_encode(path),loadPermissions);3 cExecute('./index.php?menuaction=filemanager.uifilemanager.get_permissions&path='+base64_encode(path),loadPermissions); 4 4 } 5 5 … … 124 124 var continue_set = confirm(get_lang('This property will change the visibility of all users that have access to this file, continue?')); 125 125 if (continue_set) 126 cExecute(' /index.php?menuaction=filemanager.vfs_functions.setRestricted&file='+base64_encode(name)+'&path='+base64_encode(currentPath),setRestricted_handler);126 cExecute('./index.php?menuaction=filemanager.vfs_functions.setRestricted&file='+base64_encode(name)+'&path='+base64_encode(currentPath),setRestricted_handler); 127 127 } 128 128 … … 148 148 function setComments(el){ 149 149 var filename = base64_encode(el.id); 150 cExecute(' /index.php?menuaction=filemanager.vfs_functions.editComment&file='+filename+'&comment='+base64_encode(el.value),updateComment);150 cExecute('./index.php?menuaction=filemanager.vfs_functions.editComment&file='+filename+'&comment='+base64_encode(el.value),updateComment); 151 151 } 152 152 … … 229 229 preferences[checkBoxes[i].value] = '0'; 230 230 } 231 cExecute(' /index.php?menuaction=filemanager.user.save_preferences&preferences='+base64_encode(serialize(preferences)),function () { toolbar.control('reload'); EditColumns('close'); })231 cExecute('./index.php?menuaction=filemanager.user.save_preferences&preferences='+base64_encode(serialize(preferences)),function () { toolbar.control('reload'); EditColumns('close'); }) 232 232 return; 233 233 } … … 265 265 return; 266 266 } 267 cExecute(' /index.php?menuaction=filemanager.uifilemanager.search&text='+inputText.value,folderList.drawSearch);267 cExecute('./index.php?menuaction=filemanager.uifilemanager.search&text='+inputText.value,folderList.drawSearch); 268 268 } 269 269 function selectAll(el){
Note: See TracChangeset
for help on using the changeset viewer.