show error dialog

This commit is contained in:
Girish Ramakrishnan
2015-12-14 18:56:15 -08:00
parent fca6de3997
commit 365ee01f96
2 changed files with 8 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
/* global ISTATES:false */
/* global HSTATES:false */
'use strict';
@@ -40,6 +41,10 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
password: ''
};
$scope.appError = {
app: {}
};
$scope.appUpdate = {
busy: false,
error: {},
@@ -207,6 +212,8 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
$scope.appError.app = app;
$('#appErrorModal').modal('show');
return false; // prevent propagation and default
};
$scope.showRestore = function (app) {