minor changes to backup manager

This commit is contained in:
usmannasir
2019-03-13 18:22:12 +05:00
parent 29b6d4d3b4
commit e40c7d8912
11 changed files with 133 additions and 40 deletions

View File

@@ -26,8 +26,6 @@ app.controller('createEmailAccount', function($scope,$http) {
};
$scope.createEmailAccount = function(){
$scope.emailDetails = false;
@@ -117,11 +115,21 @@ app.controller('createEmailAccount', function($scope,$http) {
};
$scope.generatedPasswordView = true;
$scope.generatePassword = function () {
$scope.generatedPasswordView = false;
$scope.emailPassword = randomPassword(12);
};
$scope.usePassword = function () {
$scope.generatedPasswordView = true;
};
});
/* Java script code to create account ends here */
/* Java script code to create account */
app.controller('deleteEmailAccount', function($scope,$http) {
@@ -318,7 +326,6 @@ app.controller('deleteEmailAccount', function($scope,$http) {
/* Java script code to create account ends here */
/* Java script code to create account */
app.controller('changeEmailPassword', function($scope,$http) {
@@ -408,7 +415,6 @@ app.controller('changeEmailPassword', function($scope,$http) {
};
$scope.changePassword = function(){
$scope.emailLoading = false;
@@ -493,8 +499,6 @@ app.controller('changeEmailPassword', function($scope,$http) {
};
$scope.deleteEmailAccount = function(){
var domain = $scope.selectedEmail;
@@ -505,6 +509,21 @@ app.controller('changeEmailPassword', function($scope,$http) {
};
///
$scope.generatedPasswordView = true;
$scope.generatePassword = function () {
$scope.generatedPasswordView = false;
$scope.emailPassword = randomPassword(12);
};
$scope.usePassword = function () {
$scope.generatedPasswordView = true;
};
});
/* Java script code to create account ends here */