This commit removes the Captcha support, and replaces with a copy-paste-able safeguard in the UI.
8 lines
302 B
JavaScript
8 lines
302 B
JavaScript
backupApp.controller('ConfirmDeleteController', function($scope, $location, gettextCatalog) {
|
|
$scope.selection = $scope.$parent.state.CurrentItem;
|
|
|
|
if ($scope.selection.requiredword == '')
|
|
$scope.selection.requiredword = 'delete all files';
|
|
$scope.selection.typedword = '';
|
|
});
|