Commit 08b281ed authored by Marc Duez's avatar Marc Duez
Browse files

com.js : display default msg

parent f60418dc
...@@ -105,13 +105,13 @@ Com.prototype = { ...@@ -105,13 +105,13 @@ Com.prototype = {
if (typeof obj.msg != "undefined") text += obj.msg if (typeof obj.msg != "undefined") text += obj.msg
switch (obj.type) { switch (obj.type) {
case "flash": case "flash":
this.flash(obj.msg, obj.priority) this.flash(text, obj.priority)
break; break;
case "popup": case "popup":
this.popupMsg(obj.msg) this.popupMsg(text)
break; break;
case "log": case "log":
this.customLog(obj.msg, obj.priority) this.customLog(text, obj.priority)
break; break;
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment