Ignore button clicks when post install is not yet confirmed
Angular does not remove the click handler on ng-disabled :-/
This commit is contained in:
@@ -330,6 +330,8 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
|
||||
},
|
||||
|
||||
submit: function () {
|
||||
if (!$scope.appPostInstallConfirm.confirmed) return;
|
||||
|
||||
$scope.appPostInstallConfirm.app.pendingPostInstallConfirmation = false;
|
||||
delete localStorage['confirmPostInstall_' + $scope.appPostInstallConfirm.app.id];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user