Archived
1
0

fix undefined error

This commit is contained in:
Jeff Becker
2016-04-30 16:11:20 -04:00
parent 1a3fe3af66
commit 0df3fe43e0
2 changed files with 3 additions and 2 deletions

View File

@@ -221,9 +221,10 @@ DynReply.prototype.showError = function(msg) {
DynReply.prototype.showMessage = function(msg) {
this._error.setAttribute("class", "message");
this._error.value = document.createTextNode(msg);
var e = this._error;
setTimeout(function() {
// clear it
this._error.innerHTML = "";
e.innerHTML = "";
}, 2000);
}