Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR Limiting console.log() output to explicit enabling through wind…

…ow.debug to avoid failing IE
  • Loading branch information...
commit 980686ab7594004e931a397f00b7f2df1e4271da 1 parent 21e7ec6
Ingo Schommer chillu authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  admin/javascript/LeftAndMain.js
3  admin/javascript/LeftAndMain.js
View
@@ -743,7 +743,8 @@ jQuery.noConflict();
this.redraw();
},
onremove: function() {
- console.log('saving', this.data('url'), this);
+ if(window.debug) console.log('saving', this.data('url'), this);
+
// Save the HTML state at the last possible moment.
// Don't store the DOM to avoid memory leaks.
if(!this.data('deferredNoCache')) window._panelDeferredCache[this.data('url')] = this.html();
Please sign in to comment.
Something went wrong with that request. Please try again.