# HG changeset patch # User hertzhaft # Date 1135246895 -3600 # Node ID 3086315ca94e086283e07f533a38b19976b4149f # Parent 54774d7efb1033736d48f1e929e319230ecef7a8 better alert diff -r 54774d7efb10 -r 3086315ca94e client/digitallibrary/greyskin/debug.js --- 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));