add function to show the error dialog

This commit is contained in:
Girish Ramakrishnan
2015-12-14 17:57:58 -08:00
parent dceb265742
commit fca6de3997

View File

@@ -201,6 +201,14 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
});
};
$scope.showError = function (app) {
$scope.reset();
$scope.appError.app = app;
$('#appErrorModal').modal('show');
};
$scope.showRestore = function (app) {
$scope.reset();