Mercurial > hg > digilib-old
changeset 427:84aee0e6d64e
better alert
author | hertzhaft |
---|---|
date | Thu, 22 Dec 2005 11:21:35 +0100 (2005-12-22) |
parents | 7207a5549301 |
children | ec504da8f69a |
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));