Last modified: 2010-05-15 16:03:44 UTC
currently, jsMsg only takes HTML as String for the message content. I suggest the following change: < messageDiv.innerHTML = message; > if (typeof message == 'string') { > messageDiv.innerHTML = message; > } > else if (typeof message == 'object') { > while (messageDiv.hasChildNodes()) // Remove old content > messageDiv.removeChild(messageDiv.firstChild); > messageDiv.appendChild (message); // Append new content > }
Fixed in r36239