slighly better error message when things go awry
authorivan <ivan>
Thu, 17 Jun 2010 01:15:57 +0000 (01:15 +0000)
committerivan <ivan>
Thu, 17 Jun 2010 01:15:57 +0000 (01:15 +0000)
httemplate/edit/elements/edit.html

index 0417dc5..0b5ca17 100644 (file)
@@ -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 ) {