diff --git a/dashboard/public/views/app.html b/dashboard/public/views/app.html index 66d7f6d0c..e8de96d7d 100644 --- a/dashboard/public/views/app.html +++ b/dashboard/public/views/app.html @@ -13,7 +13,7 @@ @@ -47,12 +47,8 @@
diff --git a/dashboard/public/views/app.js b/dashboard/public/views/app.js index b90446533..37f396b39 100644 --- a/dashboard/public/views/app.js +++ b/dashboard/public/views/app.js @@ -81,12 +81,10 @@ angular.module('Application').controller('AppController', ['$scope', '$location' $scope.appPostInstallConfirm = { app: {}, message: '', - confirmed: false, show: function (app) { $scope.appPostInstallConfirm.app = app; $scope.appPostInstallConfirm.message = app.manifest.postInstallMessage; - $scope.appPostInstallConfirm.confirmed = false; $('#appPostInstallConfirmModal').modal('show'); @@ -94,8 +92,6 @@ angular.module('Application').controller('AppController', ['$scope', '$location' }, submit: function () { - if (!$scope.appPostInstallConfirm.confirmed) return; - $scope.appPostInstallConfirm.app.pendingPostInstallConfirmation = false; delete localStorage['confirmPostInstall_' + $scope.appPostInstallConfirm.app.id]; @@ -104,11 +100,9 @@ angular.module('Application').controller('AppController', ['$scope', '$location' }; $scope.postInstallMessage = { - confirmed: false, openApp: false, show: function (openApp) { - $scope.postInstallMessage.confirmed = false; $scope.postInstallMessage.openApp = !!openApp; if (!$scope.app.manifest.postInstallMessage) return; @@ -116,8 +110,6 @@ angular.module('Application').controller('AppController', ['$scope', '$location' }, submit: function () { - if (!$scope.postInstallMessage.confirmed) return; - $scope.app.pendingPostInstallConfirmation = false; delete localStorage['confirmPostInstall_' + $scope.app.id];