Mercurial > hg > digilib
changeset 423:3086315ca94e
better alert
author | hertzhaft |
---|---|
date | Thu, 22 Dec 2005 11:21:35 +0100 |
parents | 54774d7efb10 |
children | de930d030a53 |
files | client/digitallibrary/greyskin/debug.js |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/client/digitallibrary/greyskin/debug.js Thu Dec 22 11:20:32 2005 +0100 +++ b/client/digitallibrary/greyskin/debug.js Thu Dec 22 11:21:35 2005 +0100 @@ -14,7 +14,7 @@ function appendNewElement(node, tagname, content) { // appends a new element to "node", adding content if given if (!node.appendChild) { - alert("Could not append: " + typeof(node)); + alert("Could not append '" + tagname + "' to " + typeof(node)); return null; } return node.appendChild(newElement(tagname, content));