Commit 26e0d5d69eb1f06d1ec19f026516d2ba1229e1ad

Authored by Rishav
1 parent 226dc1e571
Exists in master

save changes issue

app/views/updateAllFBO/updateAllFBO.controller.js
... ... @@ -3,7 +3,7 @@
3 3 //Load controller
4 4 angular.module('acuefuel')
5 5  
6   - .controller('updateAllFBOController', function($scope, $stateParams, UpdateAllFBO) {
  6 + .controller('updateAllFBOController', function($scope, $stateParams, $state, UpdateAllFBO) {
7 7 $(document).ready(function(){
8 8 $('.i-checks').iCheck({
9 9 checkboxClass: 'icheckbox_square-green',
... ... @@ -93,6 +93,7 @@
93 93 UpdateAllFBO.updatefeatureControl(updatefeatureControlData).then(function(response) {
94 94 console.log(response)
95 95 })
  96 + $state.go('index.fboAdmin');
96 97 })
97 98 }
98 99 }
... ...
app/views/updateFBODept/updateFBODept.controller.js
... ... @@ -3,7 +3,7 @@
3 3 //Load controller
4 4 angular.module('acuefuel')
5 5  
6   - .controller('updateFBODeptController', function($scope, $stateParams, UpdateAllFBODept, UpdateAllFBO, FBOFlight) {
  6 + .controller('updateFBODeptController', function($scope, $stateParams, $state, UpdateAllFBODept, UpdateAllFBO, FBOFlight) {
7 7  
8 8 $scope.showPayments = true;
9 9 $scope.aircraft = {};
... ... @@ -98,6 +98,7 @@
98 98 closeButton: true
99 99 })
100 100 })
  101 + $state.go('index.flightDept');
101 102 }
102 103 }
103 104  
... ...