diff options
Diffstat (limited to 'Duplicati/Server/webroot/ngax/scripts/controllers/DialogController.js')
-rw-r--r-- | Duplicati/Server/webroot/ngax/scripts/controllers/DialogController.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Duplicati/Server/webroot/ngax/scripts/controllers/DialogController.js b/Duplicati/Server/webroot/ngax/scripts/controllers/DialogController.js index ef44eb1d8..ec45eaa5f 100644 --- a/Duplicati/Server/webroot/ngax/scripts/controllers/DialogController.js +++ b/Duplicati/Server/webroot/ngax/scripts/controllers/DialogController.js @@ -1,12 +1,12 @@ backupApp.controller('DialogController', function($scope, DialogService) { - $scope.state = DialogService.watch($scope); + $scope.state = DialogService.watch($scope); - $scope.onButtonClick = function(index) { - var cur = $scope.state.CurrentItem; - DialogService.dismissCurrent(); + $scope.onButtonClick = function(index) { + var cur = $scope.state.CurrentItem; + DialogService.dismissCurrent(); - if (cur.callback) - cur.callback(index); - }; - -});
\ No newline at end of file + if (cur.callback) + cur.callback(index); + }; + +}); |