Skip to content

Commit

Permalink
Item13570: don;t hard-code tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Crawford Currie committed Sep 4, 2015
1 parent ab48972 commit cc3e182
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion EditRowPlugin/lib/Foswiki/Plugins/EditRowPlugin/Table.pm
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ sub new {

my $attrs;
foreach my $spec (@$specs) {
$attrs = $spec->{attrs} if ( $spec->{tag} eq 'EDITTABLE' );
$attrs = $spec->{attrs}
if ( $spec->{tag} eq
( $Foswiki::cfg{Plugins}{EditRowPlugin}{Macro} || 'EDITTABLE' ) );
}

# if headerislabel true but no headerrows, set headerrows = 1
Expand Down

0 comments on commit cc3e182

Please sign in to comment.