diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-07-13 16:37:46 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-07-13 16:37:46 -0400 |
| commit | cb7d974b1551cde22a461c7f3a2478a207f32c0f (patch) | |
| tree | bc2ad41223e097558a6586dc20747b03eee718f9 /www | |
| parent | 50b55314c2b6c3e576b19a21388441cf3e5ae798 (diff) | |
This may solve #170 #389 #506
Diffstat (limited to 'www')
| -rwxr-xr-x | www/js/app.js | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/www/js/app.js b/www/js/app.js index 871ed7dd..3745e186 100755 --- a/www/js/app.js +++ b/www/js/app.js @@ -114,6 +114,14 @@ angular.module('zmApp', [ }) + // to take care of electron changing + // window title and going out of sync + .controller('zmApp.appCtrl', function ($scope) { + $scope.$on('$ionicView.afterEnter', function(ev, data) { + ev.stopPropagation(); + }); + }) + //http://stackoverflow.com/a/24519069/1361529 .filter('trusted', ['$sce', function ($sce) { return function (url) { @@ -2170,12 +2178,14 @@ angular.module('zmApp', [ url: '/app', abstract: true, templateUrl: 'templates/menu.html', - + controller: 'zmApp.appCtrl', cache: false, //controller: 'AppCtrl' }) + + .state('app.login', { data: { requireLogin: false |
