Browse Source

[beeswax] Fix async problem of loading of tables/autocomplete

Enrico Berti 10 years ago
parent
commit
97fd947
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/beeswax/src/beeswax/static/beeswax/js/autocomplete.utils.js

+ 1 - 1
apps/beeswax/src/beeswax/static/beeswax/js/autocomplete.utils.js

@@ -28,7 +28,7 @@ function hac_jsoncalls(options) {
       type: "GET",
       url: _url + "?" + Math.random(),
       success: options.onDataReceived,
-      async: options.sync == "undefined"
+      async: typeof options.sync == "undefined"
     });
   }
 }