From 31325beec6d4f663b928e3137a83500ffd6c784a Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Thu, 21 May 2009 05:08:44 +0000 Subject: [PATCH] BUGFIX: Removed spurious console.log() functions. git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77552 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- javascript/CMSMain_left.js | 2 +- javascript/LeftAndMain_left.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/javascript/CMSMain_left.js b/javascript/CMSMain_left.js index a4f08a3c..423d7c20 100755 --- a/javascript/CMSMain_left.js +++ b/javascript/CMSMain_left.js @@ -192,7 +192,7 @@ SiteTreeFilterForm.prototype = { initialize: function() { var self = this; Form.getElements(this).each(function(el){ - if (el.type == 'submit') el.onclick = function(){self.clicked = $F(this); console.log(self.clicked)}; + if (el.type == 'submit') el.onclick = function(){self.clicked = $F(this);}; }); }, onsubmit: function() { diff --git a/javascript/LeftAndMain_left.js b/javascript/LeftAndMain_left.js index ff2c9ca8..c15fa131 100755 --- a/javascript/LeftAndMain_left.js +++ b/javascript/LeftAndMain_left.js @@ -43,7 +43,6 @@ TreeAPI.prototype = { var url = this.customURL ? this.customURL : SiteTreeHandlers.loadTree_url; url = url + (url.match(/\?/) ? '&' : '?') + args.toQueryString(); - console.log('Loading tree from ' + url); return url; },