Saving the dash displays a toast.
This commit is contained in:
parent
2d54f937c6
commit
5420b172ac
1 changed files with 5 additions and 2 deletions
|
@ -149,8 +149,11 @@ dash = (function() {
|
|||
server: toolbar.server(),
|
||||
workspaces: workspaces
|
||||
},
|
||||
function() { console.log("Saved config."); },
|
||||
function(xhr, x, msg) { console.log("Error saving config", msg); }
|
||||
function() { toastr.info("Configuration saved.") },
|
||||
function(xhr, msg) {
|
||||
console.log("Error saving config", msg);
|
||||
toastr.error("Error saving config: " + msg);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue