mirror of
https://github.com/pinry/pinry.git
synced 2025-11-14 00:55:43 +01:00
Fix error message classes
This commit is contained in:
@@ -83,7 +83,7 @@ $(window).load(function() {
|
||||
createBox(pin);
|
||||
});
|
||||
promise.error(function() {
|
||||
message('Problem problem fetching pin data.', 'alert alert-error');
|
||||
message('Problem problem fetching pin data.', 'alert alert-danger');
|
||||
});
|
||||
}
|
||||
return links.each(function() {
|
||||
@@ -95,7 +95,7 @@ $(window).load(function() {
|
||||
createBox(pin);
|
||||
});
|
||||
promise.error(function() {
|
||||
message('Problem problem fetching pin data.', 'alert alert-error');
|
||||
message('Problem problem fetching pin data.', 'alert alert-danger');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@@ -124,7 +124,7 @@ $(window).load(function() {
|
||||
editedPin = null;
|
||||
});
|
||||
promise.error(function() {
|
||||
message('Problem updating image.', 'alert alert-error');
|
||||
message('Problem updating image.', 'alert alert-danger');
|
||||
});
|
||||
} else {
|
||||
var data = {
|
||||
@@ -144,7 +144,7 @@ $(window).load(function() {
|
||||
dismissModal(modal);
|
||||
});
|
||||
promise.error(function() {
|
||||
message('Problem saving image.', 'alert alert-error');
|
||||
message('Problem saving image.', 'alert alert-danger');
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
@@ -70,7 +70,7 @@ $(window).load(function() {
|
||||
tileLayout();
|
||||
});
|
||||
promise.error(function() {
|
||||
message('Problem deleting image.', 'alert alert-error');
|
||||
message('Problem deleting image.', 'alert alert-danger');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user