diff --git a/webadmin/src/views/apps.html b/webadmin/src/views/apps.html index b5886f36b..3a8139017 100644 --- a/webadmin/src/views/apps.html +++ b/webadmin/src/views/apps.html @@ -110,9 +110,13 @@

This app was never backed up. Restoring the app will lose all content!

-
+
- +
+ Password required + Wrong password +
+
diff --git a/webadmin/src/views/apps.js b/webadmin/src/views/apps.js index 0c4335274..6ebb5f5c2 100644 --- a/webadmin/src/views/apps.js +++ b/webadmin/src/views/apps.js @@ -233,6 +233,7 @@ angular.module('Application').controller('AppsController', ['$scope', '$location if (error && error.statusCode === 403) { $scope.appRestore.password = ''; $scope.appRestore.error.password = true; + $scope.appRestoreForm.password.$setPristine(); $('#appRestorePasswordInput').focus(); } else if (error) { Client.error(error);