Repair Vandelay async startup data retrieval
authorBill Erickson <berick@esilibrary.com>
Mon, 23 Sep 2013 14:51:03 +0000 (10:51 -0400)
committerBen Shum <bshum@biblio.org>
Mon, 23 Sep 2013 15:12:45 +0000 (11:12 -0400)
Increment the number of items retrieved at startup to ensure the UI
waits for all async requests to return before continuing with page
rendering.

The counter should have been updated with this commit, which adds bucket
retrieval to the startup sequence.

59cc4b9524bfcf9a56f54c5ed5a3d56a7d1b86e6

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/web/js/ui/default/vandelay/vandelay.js

index 41b9a99..512c7dc 100644 (file)
@@ -109,7 +109,7 @@ function vlInit() {
     localeStrings = dojo.i18n.getLocalization("openils.vandelay", "vandelay");
 
     authtoken = openils.User.authtoken;
-    var initNeeded = 9; // how many async responses do we need before we're init'd 
+    var initNeeded = 10; // how many async responses do we need before we're init'd 
     var initCount = 0; // how many async reponses we've received
 
     openils.Util.registerEnterHandler(