From c308a805063f0071255733943be4d66035d0b97d Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Thu, 9 Feb 2012 21:42:25 -0500 Subject: [PATCH] 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 Signed-off-by: Dan Wells --- .../staff_client/chrome/content/auth/session.js | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) 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, -- 2.43.2