mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
feature #2746: Fix undefined message string
This commit is contained in:
parent
60192acc0a
commit
719e4db608
@ -1272,7 +1272,7 @@ function stringJSON(json){
|
||||
function notifySubmit(action, args, extra_param){
|
||||
var action_text = action.replace(/OpenNebula\./,'').replace(/\./,' ');
|
||||
|
||||
var msg;
|
||||
var msg = "";
|
||||
if (!args || (typeof args == 'object' && args.constructor != Array)){
|
||||
|
||||
msg += action_text;
|
||||
@ -1298,7 +1298,7 @@ function notifyMessage(msg){
|
||||
}
|
||||
|
||||
function notifyCustom(title, msg, sticky) {
|
||||
msg = title + msg;
|
||||
msg = (title ? title : "") + msg;
|
||||
$.jGrowl(msg, {theme: "jGrowl-notify-submit", position: "bottom-right", sticky: sticky });
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user