From: erickson Date: Tue, 9 Jun 2009 16:21:45 +0000 (+0000) Subject: don't try to load user settings if we are not logged in yet X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b8b78b01c5c5ecb22bff407245dd031b14135e58;p=evergreen%2Fbjwebb.git don't try to load user settings if we are not logged in yet git-svn-id: svn://svn.open-ils.org/ILS/trunk@13346 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js b/Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js index 8d07b3536..e00823ea1 100644 --- a/Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js +++ b/Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js @@ -197,9 +197,7 @@ if(!dojo._hasResource["openils.widget.GridColumnPicker"]) { { async: true, params: [this.authtoken, null, setting], oncomplete: function(r) { - var stat = r.recv().content(); - if(e = openils.Event.parse(stat)) - return alert(e); + var stat = openils.Util.readResponse(r); } } );