diff options
Diffstat (limited to 'www/js/EventCtrl.js')
| -rw-r--r-- | www/js/EventCtrl.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js index 374b5735..604458a2 100644 --- a/www/js/EventCtrl.js +++ b/www/js/EventCtrl.js @@ -81,6 +81,12 @@ angular.module('zmApp.controllers').controller('zmApp.EventCtrl', function ($ion return; } + $ionicLoading.hide(); + $ionicLoading.show({ + template: "please wait...", + noBackdrop: true, + + }); var loginData = ZMDataModel.getLogin(); @@ -141,10 +147,11 @@ angular.module('zmApp.controllers').controller('zmApp.EventCtrl', function ($ion console.log("SUCCESS: " + JSON.stringify(resp)); var str = toast_blurb + "event:" + resp.status.event; console.log(str); + $ionicLoading.hide(); $ionicLoading.show({ template: str, noBackdrop: true, - duration: 3000 + duration: 2000 }); }); |
