"MDL-16597, remove firebug debug code"
This commit is contained in:
@@ -78,7 +78,6 @@ function filemanager_callback(params) {
|
||||
var client_id = params.client_id;
|
||||
fm_refresh(params.filepath, fm_cfg[client_id]);
|
||||
fm_cfg[client_id].currentfiles++;
|
||||
console.info(fm_cfg[client_id].currentfiles);
|
||||
|
||||
if (fm_cfg[client_id].currentfiles>=fm_cfg[client_id].maxfiles
|
||||
&& fm_cfg[client_id].maxfiles!=-1) {
|
||||
@@ -491,7 +490,6 @@ function fm_create_menu(ev, menuid, menuitems, file, options) {
|
||||
alert(mstr.error.cannotdeletefile);
|
||||
}
|
||||
fm_cfg[this.client_id].currentfiles--;
|
||||
console.info('delete callback: '+fm_cfg[this.client_id].currentfiles);
|
||||
if (fm_cfg[this.client_id].currentfiles<fm_cfg[this.client_id].maxfiles) {
|
||||
var btn = document.getElementById('btnadd-'+this.client_id);
|
||||
btn.style.display = 'inline';
|
||||
@@ -720,7 +718,6 @@ function launch_filemanager(client_id, options) {
|
||||
fm_cfg[client_id].currentfiles = 0;
|
||||
}
|
||||
//
|
||||
console.info(fm_cfg[client_id].currentfiles);
|
||||
if (options.mainfile) {
|
||||
var mainfilename = document.getElementById(options.mainfile+'-id');
|
||||
if (mainfilename.value) {
|
||||
|
||||
Reference in New Issue
Block a user