1
0
mirror of https://github.com/bingohuang/docker-labs.git synced 2025-10-04 09:23:21 +08:00

Fix max instance reach alert

This commit is contained in:
Marcos Lilljedahl
2016-10-08 13:05:08 +02:00
parent bc64fc5c42
commit 7bbb284128
2 changed files with 11 additions and 11 deletions

View File

@@ -8,15 +8,15 @@
$scope.instances = [];
$scope.selectedInstance = null;
$scope.showAlert = function(title, content) {
$mdDialog.show(
$mdDialog.alert()
.parent(angular.element(document.querySelector('#popupContainer')))
.clickOutsideToClose(true)
.title(title)
.textContent(content)
.ok('Got it!')
);
$scope.showAlert = function(title, content) {
$mdDialog.show(
$mdDialog.alert()
.parent(angular.element(document.querySelector('#popupContainer')))
.clickOutsideToClose(true)
.title(title)
.textContent(content)
.ok('Got it!')
);
}
$scope.newInstance = function() {