diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-04-06 14:27:48 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-04-06 14:27:48 -0400 |
| commit | 29dcd653d589efa9efa88ceeec8b87f2da16373c (patch) | |
| tree | df46f70a405062bc3e25d1463d5a653dfe1e1297 /www/js | |
| parent | 39fc76897126582c63fdfa81d650e2d82aba1922 (diff) | |
make sure you don't go back to invalidapi as last state! or refresh!
Diffstat (limited to 'www/js')
| -rwxr-xr-x | www/js/app.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/www/js/app.js b/www/js/app.js index 9bf7e0a7..466a9a2a 100755 --- a/www/js/app.js +++ b/www/js/app.js @@ -1794,6 +1794,9 @@ angular.module('zmApp', [ .then(function (succ) { // console.log ("FOUND " + JSON.stringify(succ) + ":"+succ); if (succ) { + if ( succ == 'app.invalidapi' || succ == 'app.refresh') { + succ = 'app.montage'; + } $rootScope.lastState = succ.name; if ($rootScope.lastState.indexOf("app.") == -1) { $rootScope.lastState = "app." + $rootScope.lastState; |
