[open-ils-commits] r13346 - trunk/Open-ILS/web/js/dojo/openils/widget (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Jun 9 12:21:48 EDT 2009


Author: erickson
Date: 2009-06-09 12:21:45 -0400 (Tue, 09 Jun 2009)
New Revision: 13346

Modified:
   trunk/Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js
Log:
don't try to load user settings if we are not logged in yet

Modified: trunk/Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js	2009-06-09 15:31:22 UTC (rev 13345)
+++ trunk/Open-ILS/web/js/dojo/openils/widget/GridColumnPicker.js	2009-06-09 16:21:45 UTC (rev 13346)
@@ -197,9 +197,7 @@
                 {   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);
                     }
                 }
             );



More information about the open-ils-commits mailing list