Move uiLevel from a define to a property so it can be inherited.
This commit is contained in:
parent
029655d822
commit
a3614f5211
3 changed files with 7 additions and 13 deletions
|
|
@ -25,7 +25,6 @@ use WebGUI::Definition::Asset;
|
|||
define assetName => 'asset';
|
||||
define tableName => 'assetData';
|
||||
define icon => 'assets.gif';
|
||||
define uiLevel => 1;
|
||||
property title => (
|
||||
tab => "properties",
|
||||
label => ['99','Asset'],
|
||||
|
|
@ -273,6 +272,11 @@ has assetId => (
|
|||
has revisionDate => (
|
||||
is => 'rw',
|
||||
);
|
||||
has uiLevel => (
|
||||
is => 'ro',
|
||||
default => 1,
|
||||
init_arg => undef,
|
||||
);
|
||||
property revisedBy => (
|
||||
is => 'rw',
|
||||
noFormPost => 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue