Merge commit '808a866c8b' into webgui8. 7.9.4 release point
Conflicts: docs/upgrades/packages-7.9.3/root_import_gallery-templates_default-gallery-edit-album.wgpkg docs/upgrades/upgrade_7.9.2-7.9.3.pl lib/WebGUI.pm lib/WebGUI/Asset/MapPoint.pm lib/WebGUI/Asset/Wobject/Calendar.pm lib/WebGUI/Asset/Wobject/Gallery.pm lib/WebGUI/Asset/Wobject/GalleryAlbum.pm lib/WebGUI/Asset/Wobject/WikiMaster.pm lib/WebGUI/AssetClipboard.pm lib/WebGUI/AssetVersioning.pm lib/WebGUI/Auth.pm t/Asset/Asset.t
This commit is contained in:
commit
b30491f3a6
31 changed files with 1974 additions and 415 deletions
|
|
@ -54,10 +54,10 @@ property address2 => (
|
|||
property city => (
|
||||
tab => "properties",
|
||||
fieldType => "text",
|
||||
label => ["city label", 'Asset_MapPoint'],
|
||||
hoverHelp => ["city description", 'Asset_MapPoint'],
|
||||
);
|
||||
property state => (
|
||||
label => $i18n->get("city label"),
|
||||
hoverHelp => $i18n->get("city description"),
|
||||
},
|
||||
property region => {
|
||||
tab => "properties",
|
||||
fieldType => "text",
|
||||
label => ["state label", 'Asset_MapPoint'],
|
||||
|
|
@ -276,6 +276,8 @@ sub getTemplateVarsEditForm {
|
|||
my $definition = __PACKAGE__->definition($session)->[0]->{properties};
|
||||
for my $key ( keys %{$definition} ) {
|
||||
next if $definition->{$key}->{noFormPost};
|
||||
next if $key eq 'latitude'
|
||||
|| $key eq 'longitude';
|
||||
$definition->{$key}->{name} = $key;
|
||||
$definition->{$key}->{value} = $self->$key;
|
||||
$var->{ "form_$key" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue