don't try to load user settings if we are not logged in yet
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 9 Jun 2009 16:21:45 +0000 (16:21 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 9 Jun 2009 16:21:45 +0000 (16:21 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13346 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js

index 8d07b35..e00823e 100644 (file)
@@ -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);
                     }
                 }
             );