Update addTab usage to pass name/value pairs.

This commit is contained in:
Scott Walters 2010-08-10 15:21:21 -04:00
parent 9eea40aeff
commit 580c6bf6f7

View file

@ -281,7 +281,7 @@ override getEditForm => sub {
if (WebGUI::Image::Graph->getPluginList($self->session)) {
my $config = $self->getGraphConfig;
$fb->addTab('graph', $i18n->get('Graphing','Image_Graph'));
$fb->addTab(name => 'graph', label => $i18n->get('Graphing','Image_Graph'));
$fb->getTab('graph')->addField( "yesNo",
name => 'generateGraph',
label => $i18n->get('generate graph'),