2016-05-12 12:30:01 +02:00
|
|
|
(function() {
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
angular
|
|
|
|
.module('harbor.layout.admin.option')
|
|
|
|
.controller('AdminOptionController', AdminOptionController);
|
|
|
|
|
2016-06-25 21:12:17 +02:00
|
|
|
AdminOptionController.$inject = ['$scope'];
|
2016-05-31 12:49:16 +02:00
|
|
|
|
2016-06-25 21:12:17 +02:00
|
|
|
function AdminOptionController($scope) {
|
|
|
|
|
2016-06-26 06:56:58 +02:00
|
|
|
$scope.subsSubPane = 296;
|
|
|
|
|
2016-05-12 12:30:01 +02:00
|
|
|
var vm = this;
|
|
|
|
vm.toggle = false;
|
|
|
|
vm.toggleAdminOption = toggleAdminOption;
|
|
|
|
|
|
|
|
function toggleAdminOption() {
|
|
|
|
if(vm.toggle) {
|
|
|
|
vm.toggle = false;
|
|
|
|
}else{
|
|
|
|
vm.toggle = true;
|
2016-05-31 12:49:16 +02:00
|
|
|
}
|
2016-05-12 12:30:01 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
})();
|