LP#1287370: minor textual cleanup
authorGalen Charlton <gmc@esilibrary.com>
Thu, 13 Nov 2014 17:42:45 +0000 (09:42 -0800)
committerBen Shum <bshum@biblio.org>
Tue, 3 Mar 2015 02:28:26 +0000 (21:28 -0500)
- remove trailing spaces
- remove debug logging

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Erica Rohlfs <erohlfs@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/web/js/dojo/openils/widget/AutoGrid.js
Open-ILS/web/js/ui/default/acq/financial/list_funds.js

index 873bb24..8936338 100644 (file)
@@ -40,7 +40,7 @@ if(!dojo._hasResource['openils.widget.AutoGrid']) {
             suppressLinkedFields : null, // list of fields whose linked display data should not be fetched from the server
             urlNavigation : false,
 
-            // When using urlNavigation, this is a stash where the 
+            // When using urlNavigation, this is a stash where the
             // caller can place arbitrary data to be passed around
             // between pages.
             urlUserData : {},
@@ -66,7 +66,7 @@ if(!dojo._hasResource['openils.widget.AutoGrid']) {
                 this.overrideEditWidgets = {};
                 this.overrideEditWidgetClass = {};
                 this.overrideWidgetArgs = {};
-                this.extractUrlOps(); 
+                this.extractUrlOps();
 
                this.nls = dojo.i18n.getLocalization('openils.widget', 'AutoFieldWidget');
 
@@ -101,7 +101,7 @@ if(!dojo._hasResource['openils.widget.AutoGrid']) {
                             self.cachedQueryOpts.offset = self.displayOffset += self.displayLimit;
                             if (self.urlNavigation) {
                                 self.applyAndExecuteUrlOps(
-                                    self.cachedQueryOpts.offset, 
+                                    self.cachedQueryOpts.offset,
                                     self.cachedQuerySearch
                                 );
                             } else {
@@ -128,7 +128,7 @@ if(!dojo._hasResource['openils.widget.AutoGrid']) {
                                             {fmClass:self.fmClass, suppressFilterFields:self.suppressFilterFields})
 
                                         self.filterDialog.onApply = function(filter) {
-                                            if (self.urlNavigation) { 
+                                            if (self.urlNavigation) {
                                                 self.applyAndExecuteUrlOps(0, filter);
 
                                             } else {
@@ -644,7 +644,6 @@ if(!dojo._hasResource['openils.widget.AutoGrid']) {
                         this.urlOpsApplied = true;
                         // on the first page load, apply the ops from the URL
                         if (this.urlOps) {
-                            console.log('applying url ops: ' + js2JSON(this.urlOps));
                             opts.offset = self.displayOffset = this.urlOps.offset;
                             search = dojo.mixin(search || {}, this.urlOps.filter);
                         }
index fb1f246..69ec8b4 100644 (file)
@@ -95,7 +95,7 @@ function initPage() {
             adminPermOrgs = list;
             loadFundGrid(
                 lfGrid.urlUserData.year
-                    || new openils.CGI().param('year') 
+                    || new openils.CGI().param('year')
                     || new Date().getFullYear().toString());
         },
         true, true