diff --git a/lib/WebGUI/Asset/Wobject/DataTable.pm b/lib/WebGUI/Asset/Wobject/DataTable.pm index 4f4f1f76a..caf2e7536 100644 --- a/lib/WebGUI/Asset/Wobject/DataTable.pm +++ b/lib/WebGUI/Asset/Wobject/DataTable.pm @@ -40,6 +40,22 @@ use WebGUI::Form::DataTable; #---------------------------------------------------------------------------- +=head2 addEditSaveTabs ( form ) + +Add the tab for managing the table data and schema. + +=cut + +override addEditSaveTabs => sub { + my ( $self, $form ) = @_; + $form = super(); + my $i18n = WebGUI::International->new($self->session, 'Asset_DataTable'); + $form->addTab( name => "data", label => $i18n->get("tab label data") ); + return $form; +}; + +#---------------------------------------------------------------------------- + =head2 getDataJson ( ) Get the data as a JSON object with the following structure: