Make sure we clear the password field after submit

This commit is contained in:
Johannes Zellner
2015-02-18 21:27:37 +01:00
parent df9e143369
commit 0ef33896fc
2 changed files with 4 additions and 2 deletions
+2 -2
View File
File diff suppressed because one or more lines are too long
+2
View File
@@ -38,6 +38,7 @@ angular.module('Application').controller('AppDetailsController', ['$scope', '$ht
console.error(error);
} else {
$('#updateAppModal').modal('hide');
$scope.password = '';
}
});
};
@@ -54,6 +55,7 @@ angular.module('Application').controller('AppDetailsController', ['$scope', '$ht
console.error(error);
} else {
$('#uninstallAppModal').modal('hide');
$scope.password = '';
window.location.href = '#/';
}
});