Saving the dash displays a toast.

This commit is contained in:
Aphyr 2013-01-15 23:52:21 -08:00
parent 2d54f937c6
commit 5420b172ac

View file

@ -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);
}
);
}