From: Dan Scott Date: Fri, 10 Feb 2012 02:42:25 +0000 (-0500) Subject: Whitespace fixup X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0692bcb1911a1f2c3adb70f5984490c4afc64359;p=working%2FEvergreen.git Whitespace fixup Fix the vim "noet" directive to avoid inadvertent introduction of tabs. Wrap a comment over multiple lines instead of creating a super-long line. Use one statement per line. Signed-off-by: Dan Scott --- diff --git a/Open-ILS/xul/staff_client/chrome/content/auth/session.js b/Open-ILS/xul/staff_client/chrome/content/auth/session.js index 4b560b05e4..31843eebc8 100644 --- a/Open-ILS/xul/staff_client/chrome/content/auth/session.js +++ b/Open-ILS/xul/staff_client/chrome/content/auth/session.js @@ -1,5 +1,5 @@ dump('entering auth/session.js\n'); -// vim:sw=4:ts=4:noet: +// vim:sw=4:ts=4:et: if (typeof auth == 'undefined') auth = {}; auth.session = function (view,login_type) { @@ -43,8 +43,17 @@ auth.session.prototype = { } if (init || auth_proxy_enabled) { - if (xulG._data) { delete xulG._data; } // quick kludge; we were re-using a poisoned OpenILS.data (from ws_info.xul?) where js2JSON (and maybe other stuff) does not exist - JSAN.use('OpenILS.data'); var data = new OpenILS.data(); data.stash_retrieve(); + if (xulG._data) { + /* quick kludge; we were re-using a poisoned OpenILS.data + * (from ws_info.xul?) where js2JSON (and maybe other + * stuff) does not exist + */ + delete xulG._data; + } + + JSAN.use('OpenILS.data'); + var data = new OpenILS.data(); + data.stash_retrieve(); var params = { 'username' : this.view.name_prompt.value,