Skip to content

Commit

Permalink
Item10364: correct handling of header row
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@10719 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
CrawfordCurrie authored and CrawfordCurrie committed Feb 17, 2011
1 parent 8d688f0 commit c979217
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion EditRowPlugin/lib/Foswiki/Plugins/EditRowPlugin/TableRow.pm
Expand Up @@ -195,6 +195,7 @@ sub render {
}

if ($opts->{with_controls} && !$opts->{require_js}) {
# Generate the controls column
if ($opts->{for_edit}) {
if ($buttons_right) {
push( @cols, $buttons );
Expand All @@ -216,7 +217,11 @@ sub render {
$text .= $anchor;
$addAnchor = 0;
}
push( @cols, " *$text* " );
if ($buttons_right) {
push( @cols, " *$text* " );
} else {
unshift( @cols, " *$text* " );
}
}
else {
my $script = 'view';
Expand Down

0 comments on commit c979217

Please sign in to comment.