fix(headerBar): view header bars stay under nav bars

This commit is contained in:
Adam Bradley
2014-11-14 16:09:31 -06:00
parent 6cc8fdd77f
commit b3d1cc04de
4 changed files with 0 additions and 19 deletions

View File

@@ -20,16 +20,9 @@ function($scope, $element, $attrs, $compile, $ionicHistory, $ionicViewSwitcher)
navBarDelegateHandle = delegateHandle;
});
var deregIonHeaderBarInit = $scope.$on('ionHeaderBar.init', function(ev){
// this view has its own ion-header-bar, remember it should trump other nav bars
ev.stopPropagation();
hasViewHeaderBar = true;
});
self.init = function() {
deregIonNavBarInit();
deregIonHeaderBarInit();
var modalCtrl = $element.inheritedData('$ionModalController');
navViewCtrl = $element.inheritedData('$ionNavViewController');