From e30052fc3e1607af2e6161e87032a66a89c83ca5 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Wed, 14 Mar 2018 12:11:39 -0400 Subject: #598 more tweaks --- www/js/app.js | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'www/js/app.js') diff --git a/www/js/app.js b/www/js/app.js index bc336353..36a730c1 100755 --- a/www/js/app.js +++ b/www/js/app.js @@ -1452,7 +1452,7 @@ angular.module('zmApp', [ //console.log("HERE"); - if ($rootScope.apiValid == false && toState.name != 'invalidapi' && toState.data.requireLogin == true) { + if ($rootScope.apiValid == false && toState.name != 'invalidapi' && toState.data.requireLogin == true) { event.preventDefault(); $state.transitionTo('app.invalidapi'); return; @@ -2087,6 +2087,20 @@ angular.module('zmApp', [ }) + + .state('app.refresh', { + data: { + requireLogin: false + }, + + url: "/refresh/:view", + cache: false, + nativeTransitions: null, + templateUrl: "templates/refresh.html", + controller: 'zmApp.RefreshCtrl', + + }) + .state('app.importantmessage', { data: { requireLogin: false @@ -2285,6 +2299,7 @@ angular.module('zmApp', [ }, url: "/montage", cache: false, + nativeTransitions: null, templateUrl: "templates/montage.html", controller: 'zmApp.MontageCtrl', params: { -- cgit v1.2.3