- Timestamp:
- Mar 25, 2015 2:45:22 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/www/deploy/20150304/assets/js/manager.js
r816 r823 33 33 if (o.datasource == undefined) 34 34 o.datasource = 'ajax'; 35 36 if (o.invisibledButtons == undefined) 37 o.invisibledButtons = null; 35 38 36 39 o.host = o.host + 'ajax/'; … … 61 64 var btnRefresh = $('#' + o.toolsbar + ' > DIV.btn-group.control > #btnRefresh'); 62 65 66 var toolbarButtons = [btnNewFolder, btnDel, btnCopy, btnCut, btnPaste, btnShare, btnPreview, btnDownload, btnUpload, btnRefresh]; 67 63 68 var sendCommand = function (p) { 64 69 if (p.postdata == undefined) … … 129 134 maxWidth = getDirTreeMaxWidth(); 130 135 $(o.tree).height(dirTreeHeight - 5); 136 137 if (o.invisibledButtons != null) { 138 for (var i = 0; i < o.invisibledButtons.length; i++) { 139 $('#' + o.toolsbar + ' > DIV.btn-group.basic > #' + o.invisibledButtons[i]).hide(); 140 } 141 } 131 142 } 132 143
Note: See TracChangeset
for help on using the changeset viewer.