some changes
[wl-mobile.git] / www / js / main.js
index cf92353..81a9651 100644 (file)
@@ -29,10 +29,8 @@ function onDeviceReady() {
                                debug('after history.init');
                                View.init(function() {
                                        Menu.init(function() {
+                                               Catalogue.sync();
                                                View.go();
-                                               Catalogue.sync(function() {
-                                                       Catalogue.updateLocal();
-                                               }, error);
                                        }, error);
                                }, error);
                        }, error);