fixed problem with modal windows which solved trello card 269

This commit is contained in:
Jared Tabor
2014-08-14 16:42:52 -04:00
parent d29a82bcaa
commit bc3a421aaa
6 changed files with 17 additions and 11 deletions

View File

@@ -155,7 +155,7 @@ function Authenticate($log, $cookieStore, $compile, $window, $scope, $rootScope,
$('.api-error').empty();
var token;
if (Empty(username) || Empty(password)) {
Alert('Error!', 'Please provide a username and password before attempting to login.', 'alert-danger', setLoginFocus);
Alert('Error!', 'Please provide a username and password before attempting to login.', 'alert-danger', setLoginFocus, null, null, false);
} else {
Wait('start');
Authorization.retrieveToken(username, password)
@@ -185,7 +185,7 @@ function Authenticate($log, $cookieStore, $compile, $window, $scope, $rootScope,
' and accessible.';
}
scope.reset();
Alert(hdr, msg, 'alert-danger', setLoginFocus);
Alert(hdr, msg, 'alert-danger', setLoginFocus, null, null, false);
}
});
}

View File

@@ -410,7 +410,8 @@ angular.module('SchedulesHelper', [ 'Utilities', 'RestServices', 'SchedulesHelpe
Prompt({
hdr: hdr,
body: "<div class=\"alert alert-info\">Are you sure you want to delete the <em>" + schedule.name + "</em> schedule?</div>",
action: action
action: action,
backdrop: false
});
};