From: ivan Date: Thu, 17 Jun 2010 01:15:57 +0000 (+0000) Subject: slighly better error message when things go awry X-Git-Tag: root_of_svc_elec_features~155 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=5c53f9ddde280bebb5bd31fef833f169dac8775c slighly better error message when things go awry --- 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 ) {