From 5c53f9ddde280bebb5bd31fef833f169dac8775c Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 17 Jun 2010 01:15:57 +0000 Subject: [PATCH] slighly better error message when things go awry --- httemplate/edit/elements/edit.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httemplate/edit/elements/edit.html b/httemplate/edit/elements/edit.html index 0417dc536..0b5ca1737 100644 --- a/httemplate/edit/elements/edit.html +++ b/httemplate/edit/elements/edit.html @@ -536,7 +536,7 @@ Example: var field_regex = /(\d+)(_[a-z]+)?$/; var match = field_regex.exec(what.name); if ( !match ) { - alert(what.name + " didn't match?!"); + alert(what.name + " didn't match for " + what); return; } if ( match[1] != <%$field%>_fieldnum ) { -- 2.11.0