# HG changeset patch # User Jorg K # Date 1518219485 -3600 # Node ID 25aad613d94ba2f53b9aace428c0539030f6e7dc # Parent f77a4a495dd00a88a6def772edc80cc91c1df53d Bug 1399756 - remove trailing spaces from JS/JSM files in mail/. rs=white-space-only [skip-blame] diff --git a/mail/base/content/quickFilterBar.js b/mail/base/content/quickFilterBar.js --- a/mail/base/content/quickFilterBar.js +++ b/mail/base/content/quickFilterBar.js @@ -505,17 +505,17 @@ var QuickFilterBarMuxer = { return true; } else if (aCommand == "cmd_toggleQuickFilterBar") { let show = !this.activeFilterer.visible; this._showFilterBar(show); if (show) { let textWidget = document.getElementById(QuickFilterManager.textBoxDomId); textWidget.select(); - } + } return true; } return null; }, get maybeActiveFilterer() { if (this.tabmail.currentTabInfo && "quickFilter" in this.tabmail.currentTabInfo._ext) diff --git a/mail/base/modules/oauth.jsm b/mail/base/modules/oauth.jsm --- a/mail/base/modules/oauth.jsm +++ b/mail/base/modules/oauth.jsm @@ -73,17 +73,17 @@ OAuth.prototype = { return; } this.log.info("Connecting using existing token"); aSuccess(); }, /** * Sign a request and send it, using the oauth connection. - * + * * @param aUrl Url to open * @param aHeaders Additional headers to send * @param aMethod "Get"/"Post"/"Put" * @param aPOSTData Data to post * @param aOnLoad Success callback * @param aOnError Error callback * @param aThis passed as first param to success and error callbacks * @param aOAuthParams additional params to pass to request diff --git a/mail/components/accountcreation/content/createInBackend.js b/mail/components/accountcreation/content/createInBackend.js --- a/mail/components/accountcreation/content/createInBackend.js +++ b/mail/components/accountcreation/content/createInBackend.js @@ -300,28 +300,28 @@ function checkOutgoingServerAlreadyExist } return null; }; /** * Check if there already is a "Local Folders". If not, create it. * Copied from AccountWizard.js with minor updates. */ -function verifyLocalFoldersAccount(am) +function verifyLocalFoldersAccount(am) { let localMailServer; try { localMailServer = am.localFoldersServer; } catch (ex) { localMailServer = null; } try { - if (!localMailServer) + if (!localMailServer) { // creates a copy of the identity you pass in am.createLocalMailAccount(); try { localMailServer = am.localFoldersServer; } catch (ex) { ddump("Error! we should have found the local mail server " + diff --git a/mail/test/mozmill/shared-modules/test-window-helpers.js b/mail/test/mozmill/shared-modules/test-window-helpers.js --- a/mail/test/mozmill/shared-modules/test-window-helpers.js +++ b/mail/test/mozmill/shared-modules/test-window-helpers.js @@ -1047,17 +1047,17 @@ var AugmentEverybodyWith = { this.keypress(new elib.Elem(curPopup), "VK_ESCAPE", {}); utils.waitFor(function() { return curPopup.state == "closed"; }, "Popup did not close! id=" + curPopup.id + ", state=" + curPopup.state, 5000, 50); } }, /** - * Get dropmarker arrow element from + * Get dropmarker arrow element from * * @param aNode An element containing a dropmarker, e.g. menulist or menu-button */ get_menu_dropmarker: function(aNode) { let children = aNode.ownerDocument.getAnonymousNodes(aNode); for (let node of children) { if (node.tagName == "xul:dropmarker") return node;