# HG changeset patch # User hertzhaft # Date 1135246895 -3600 # Node ID 84aee0e6d64e4d74a21f8f4a6e0e80601eb43e72 # Parent 7207a554930102f64f64184d791be9dbba55dc8a better alert diff -r 7207a5549301 -r 84aee0e6d64e 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));