diff options
| author | PliablePixels <pliablepixels@gmail.com> | 2015-08-23 09:03:18 -0400 |
|---|---|---|
| committer | PliablePixels <pliablepixels@gmail.com> | 2015-08-23 09:03:18 -0400 |
| commit | 799075d63da6a424a32df6d397fc93ee564bd18d (patch) | |
| tree | cb06802df530df732fd232a58be12f221fc97e55 /www/js/app.js | |
| parent | 09a2f3ccfe1afd1de54ecc8bef52540279dcd641 (diff) | |
upgraded to ionic content 1.0.1
Diffstat (limited to 'www/js/app.js')
| -rw-r--r-- | www/js/app.js | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/www/js/app.js b/www/js/app.js index 43873675..bbcc50a8 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -40,6 +40,7 @@ angular.module('zmApp', [ graphFillColor: 'rgba(151,187,205,0.5)', graphStrokeColor: 'rgba(151,187,205,0.8)', graphHighlightFill: 'rgba(0,163,124,0.5)', + graphItemMax: 200, monitorCheckingColor: '#03A9F4', monitorNotRunningColor: '#F44336', monitorPendingColor: '#FF9800', @@ -245,17 +246,10 @@ angular.module('zmApp', [ $rootScope.$on("auth-error", function () { console.log("**** ZM LOGIN ERROR INTERCEPT"); - - var contentBannerInstance = $ionicContentBanner.show({ - text: ['ZoneMinder authentication failed', 'Please check settings'], - interval: 2000, - type: 'error', - transition: 'vertical' - }); - - $timeout(function () { - contentBannerInstance(); - }, 6000); + + ZMDataModel.displayBanner ('error',['ZoneMinder authentication failed', 'Please check settings']); + + /*var alertPopup = $ionicPopup.alert( |
