X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Felements%2Fedit.html;h=829b77615f50b1317567de5579cb07061b681e96;hp=0f5f7bdb7d37db6a336f5931c9006a06ef143196;hb=793956b8a0c19d7d39103e94235b0ca13f0f3e84;hpb=b7d4aaee22ceda078bbfcca47038eb0bf4230a1c diff --git a/httemplate/edit/elements/edit.html b/httemplate/edit/elements/edit.html index 0f5f7bdb7..829b77615 100644 --- a/httemplate/edit/elements/edit.html +++ b/httemplate/edit/elements/edit.html @@ -263,12 +263,12 @@ Example: % unless ( $opt{'no_pkey_display'} ) { - + <% ( $opt{labels} && exists $opt{labels}->{$pkey} ) ? $opt{labels}->{$pkey} : $pkey %> - + #<% ( !$clone && $object->$pkey() ) || "(NEW)" %> % } @@ -277,9 +277,7 @@ Example: % my $tablenum = $opt{'tablenum'} || 0; + CLASS="<% $opt{html_table_class} || 'fsinnerbox' %>" > % my $g_row = 0; @@ -640,7 +638,7 @@ Example: // only spawn if we're the last element... return if not - var field_regex = /(\d+)(_[a-z_]+)?$/; + var field_regex = /(\d+)(_[a-z_0-9]+)?$/; var match = field_regex.exec(what.name); if ( !match ) { alert(what.name + " didn't match for " + what);