Fix toastr reference bug. Type is warning, not warn
This commit is contained in:
parent
f3e32d4d92
commit
18b9a73cc7
|
|
@ -256,7 +256,7 @@ function editTask(taskId) {
|
||||||
$("#tabs").tabs("option", "active", 1);
|
$("#tabs").tabs("option", "active", 1);
|
||||||
updateImage();
|
updateImage();
|
||||||
} else {
|
} else {
|
||||||
toastr.warn("Task not found!", "Task Error");
|
toastr.warning("Task not found!", "Task Error");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
error: function(jqo, stat, error) {
|
error: function(jqo, stat, error) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user