The update dialog does not contain a form anymore

Fixes #467
This commit is contained in:
Johannes Zellner
2017-11-01 11:55:04 +01:00
parent 8ede37a43d
commit 3963d76a80
2 changed files with 2 additions and 6 deletions

View File

@@ -405,7 +405,7 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
$('#appUpdateModal').modal('show');
};
$scope.doUpdate = function (form) {
$scope.doUpdate = function () {
$scope.appUpdate.busy = true;
Client.updateApp($scope.appUpdate.app.id, $scope.appUpdate.manifest, function (error) {
@@ -413,10 +413,6 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
Client.error(error);
} else {
$scope.appUpdate.app = {};
form.$setPristine();
form.$setUntouched();
$('#appUpdateModal').modal('hide');
}