1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-04 17:47:00 +03:00

Merge commit 'a190dd1499c1e716fad3238d23ddcef75f1795bd'

This commit is contained in:
Ruben S. Montero 2011-10-31 23:07:21 +01:00
commit d241ab8698

View File

@ -196,19 +196,19 @@ function notifySubmit(action, args, extra_param){
msg += " >> " + extra_param;
};
$.jGrowl(msg, {theme: "jGrowl-notify-submit"});
$.jGrowl(msg, {theme: "jGrowl-notify-submit", position: "bottom-right"});
}
//Notification on error
function notifyError(msg){
msg = "<h1>Error</h1>" + msg;
$.jGrowl(msg, {theme: "jGrowl-notify-error", sticky: true });
$.jGrowl(msg, {theme: "jGrowl-notify-error", position: "bottom-right", sticky: true });
}
//Standard notification
function notifyMessage(msg){
msg = "<h1>Info</h1>" + msg;
$.jGrowl(msg, {theme: "jGrowl-notify-submit"});
$.jGrowl(msg, {theme: "jGrowl-notify-submit", position: "bottom-right"});
}
// Returns an HTML string with the json keys and values