final accessory changes. UI tests pass as well

This commit is contained in:
Colin Kuskie 2008-05-04 23:26:21 +00:00
parent 0bbf20bd2b
commit 3721e97f7a

View file

@ -134,6 +134,11 @@ sub definition {
autoGenerate => 0, autoGenerate => 0,
defaultValue => '[]', defaultValue => '[]',
}, },
accessoryJSON => {
##Collateral data is stored as JSON in here
autoGenerate => 0,
defaultValue => '[]',
},
); );
push(@{$definition}, { push(@{$definition}, {
assetName=>$i18n->get('assetName'), assetName=>$i18n->get('assetName'),
@ -564,7 +569,7 @@ sub setAllCollateral {
my $self = shift; my $self = shift;
my $tableName = shift; my $tableName = shift;
my $json = to_json($self->{_collateral}->{$tableName}); my $json = to_json($self->{_collateral}->{$tableName});
$self->update({ $tableName => $json}); $self->update({ $tableName => $json });
return; return;
} }