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

com.js : debug

parent 45e1c05e
...@@ -114,21 +114,21 @@ Com.prototype = { ...@@ -114,21 +114,21 @@ Com.prototype = {
popupMsg: function (msg) { popupMsg: function (msg) {
document.getElementById(this.popup_id) document.getElementById(this.popup_id)
.style.display = "block"; .style.display = "block";
document.getElementById(this.popup_id) document.getElementById(this.popup_id).lastElementChild
.innerHTML = msg; .innerHTML = msg;
}, },
closePopupMsg: function () { closePopupMsg: function () {
document.getElementById(this.popup_id) document.getElementById(this.popup_id)
.style.display = "none"; .style.display = "none";
document.getElementById(this.popup_id) document.getElementById(this.popup_id).lastElementChild
.innerHTML = ""; .innerHTML = "";
}, },
dataBox: function(msg) { dataBox: function(msg) {
document.getElementById(this.data_id) document.getElementById(this.data_id)
.style.display = "block"; .style.display = "block";
document.getElementById(this.data_id) document.getElementById(this.data_id).lastElementChild
.innerHTML = msg; .innerHTML = msg;
}, },
......
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