Commit c8dedb02 authored by Marc Duez's avatar Marc Duez
Browse files

com.js : replace databox with log function

parent 3b48e1a5
......@@ -492,7 +492,7 @@ Builder.prototype = {
infoTime.appendChild(document.createTextNode("Info"));
infoTime.className = "button_right"
infoTime.onclick = function () {
console.dataBox(self.m.getPointHtmlInfo(self.m.t));
console.log({"type": "big-popup", "msg": self.m.getPointHtmlInfo(self.m.t)});
}
div_point.appendChild(infoTime)
......
......@@ -112,6 +112,9 @@ Com.prototype = {
case "log":
this.customLog(text, obj.priority)
break;
case "big-popup":
this.dataBox(text)
break;
}
}
},
......
Markdown is supported
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