diff options
author | ivan <ivan> | 2008-11-21 01:58:50 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-11-21 01:58:50 +0000 |
commit | c0fd57a78daf5ed54cb5f0944b227350f12f0704 (patch) | |
tree | 27734f3a97fbea0e8f00449d34d8af43e9266294 /httemplate/edit/elements | |
parent | 2ea2a4634ef39f4b52114196dc491dd05fbe96e2 (diff) |
undo voodoo, find real problem
Diffstat (limited to 'httemplate/edit/elements')
-rw-r--r-- | httemplate/edit/elements/edit.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/httemplate/edit/elements/edit.html b/httemplate/edit/elements/edit.html index 94bf1a5ed..537645e3e 100644 --- a/httemplate/edit/elements/edit.html +++ b/httemplate/edit/elements/edit.html @@ -286,7 +286,7 @@ Example: % $g_row++ if $type eq 'title'; % } else { % if ( $type eq 'columnstart' ) { -% push @g_row_stack, $g_row++; +% push @g_row_stack, $g_row; % $g_row = 0; % #} elsif ( $type eq 'columnnext' ) { % } elsif ( $type eq 'columnend' ) { @@ -379,7 +379,8 @@ Example: <SCRIPT TYPE="text/javascript"> - var <%$field%>_rownum = <% $g_row - 1 %>; + var <%$field%>_rownum = <% $g_row %>; +% warn "g_row $g_row\n"; var <%$field%>_fieldnum = <% $fieldnum %>; function spawn_<%$field%>(what) { |