alert changes for bootstrap 2

This commit is contained in:
Eric Miller
2012-02-27 20:43:53 -05:00
parent d562ed2b1b
commit 6c59c7db36
2 changed files with 23 additions and 23 deletions

View File

@@ -45,7 +45,7 @@ function do_search (event, tab) {
// in case of slow data load, let the user know
$(target).html(
'<div class="span3 alert-message notice"><p>Waiting for results...</p></div>'
'<div class="span3 alert"><p>Waiting for results...</p></div>'
);
// submit the query and put results into the tab pane
@@ -53,14 +53,14 @@ function do_search (event, tab) {
function(response, status, xhr) {
if (status !== "success") {
$(target).html(
'<div class="span6 alert-message error">' +
'<div class="span6 alert alert-error">' +
'<p>Search failed! Please contact your site administrator.</p></div>'
);
return;
}
if (response === "") {
$(target).html(
'<div class="span3 alert-message info"><p>No matching records.</p></div>'
'<div class="span3 alert alert-info"><p>No matching records.</p></div>'
);
}