mirror of
https://github.com/ysoftdevs/pf2015.git
synced 2026-02-24 03:15:23 +01:00
add navigation bar with back button
This commit is contained in:
@@ -35,6 +35,10 @@ angular.module('level-selector', ['LocalStorageModule'])
|
||||
}
|
||||
};
|
||||
|
||||
$scope.cancelLevel = function(even, args) {
|
||||
$scope.isLevelSelectorVisible = true;
|
||||
};
|
||||
|
||||
$scope.storeConfiguration = function() {
|
||||
if (!localStorageService.isSupported) {
|
||||
return;
|
||||
@@ -63,6 +67,7 @@ angular.module('level-selector', ['LocalStorageModule'])
|
||||
};
|
||||
|
||||
$rootScope.$on('completeLevel', $scope.completeLevel);
|
||||
$rootScope.$on('cancelLevel', $scope.cancelLevel);
|
||||
|
||||
init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user