Slightly better error message to help find the offender

This commit is contained in:
Nathan Gray 2012-07-05 20:00:34 +00:00
parent 375fad6cd4
commit 73d49a957a

View File

@ -345,7 +345,7 @@ var et2_widget = Class.extend({
} }
else else
{ {
this.egw().debug("error", this, "Widget is not supported by this widget class", _node); this.egw().debug("error", "Widget " + _node._type +" is not supported by this widget class", this);
// throw("Widget is not supported by this widget class!"); // throw("Widget is not supported by this widget class!");
} }
}, },