Use the Form::ReadOnly control rather than the raw interface;
WebGUI::FormBuilder::Tab is not a subclass of WebGUI::HTMLForm and doesn't implement raw().
This commit is contained in:
parent
ba953a6526
commit
420fcdeca6
1 changed files with 5 additions and 1 deletions
|
|
@ -289,7 +289,11 @@ override getEditForm => sub {
|
||||||
value => $self->generateGraph,
|
value => $self->generateGraph,
|
||||||
);
|
);
|
||||||
# TODO: Fix graphing plugins to use FormBuilder API
|
# TODO: Fix graphing plugins to use FormBuilder API
|
||||||
$fb->getTab('graph')->raw(WebGUI::Image::Graph->getGraphingTab($self->session, $config));
|
$fb->getTab('graph')->addField(
|
||||||
|
'ReadOnly',
|
||||||
|
value => WebGUI::Image::Graph->getGraphingTab($self->session, $config)
|
||||||
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return $fb;
|
return $fb;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue