diff --git a/src/sunstone/public/js/sunstone-util.js b/src/sunstone/public/js/sunstone-util.js index 7a04bc0525..4908bdf907 100644 --- a/src/sunstone/public/js/sunstone-util.js +++ b/src/sunstone/public/js/sunstone-util.js @@ -164,7 +164,11 @@ function notifySubmit(action, args, extra_param){ var action_text = action.replace(/OpenNebula\./,'').replace(/\./,' '); var msg = "

Submitted

"; - msg += action_text + ": " + args; + if (typeof args == 'object'){ + msg += action_text; + } else { + msg += action_text + ": " + args; + } if (extra_param != null) msg += " >> " + extra_param;