From 61abc8c40e8087e94438cfe0808783854862f9f3 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Thu, 21 May 2009 05:09:40 +0000 Subject: [PATCH] BUGFIX: Removed spurious console.log() functions (merged from r77552) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@77553 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 8250dd66..37800327 100755 --- a/javascript/CMSMain_left.js +++ b/javascript/CMSMain_left.js @@ -189,7 +189,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; },