]> git.mjollnir.org Git - moodle.git/commitdiff
"MDL-16597, remove firebug debug code"
authorDongsheng Cai <unoter@gmail.com>
Wed, 9 Dec 2009 04:16:34 +0000 (04:16 +0000)
committerDongsheng Cai <unoter@gmail.com>
Wed, 9 Dec 2009 04:16:34 +0000 (04:16 +0000)
lib/form/filemanager.js

index 77525635e8f332e482cadbc8b45ce5a3fd68b36d..d62752e635871630afcfef18b93520e17f2f8d72 100644 (file)
@@ -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) {