Fix default values in the asset meta data.
This commit is contained in:
parent
eff953b5ed
commit
6850dcbbaa
2 changed files with 8 additions and 6 deletions
|
|
@ -29,6 +29,7 @@
|
||||||
- fixed: Variable 'description' not filled in RSS templates
|
- fixed: Variable 'description' not filled in RSS templates
|
||||||
- fixed: logging reports incorrect location
|
- fixed: logging reports incorrect location
|
||||||
- fixed: Cart now redirects to ssl if the site is ssl enabled.
|
- fixed: Cart now redirects to ssl if the site is ssl enabled.
|
||||||
|
- fixed: Content Profiling fields not in Edit Branch
|
||||||
- added: Session/Url now has a forceToSecure method which takes a page or site url and redirects to that page or url if the site is ssl enabled.
|
- added: Session/Url now has a forceToSecure method which takes a page or site url and redirects to that page or url if the site is ssl enabled.
|
||||||
|
|
||||||
7.5.17
|
7.5.17
|
||||||
|
|
|
||||||
|
|
@ -1010,12 +1010,13 @@ sub getEditForm {
|
||||||
$options = "|" . $i18n->get("Select") . "\n" . $options;
|
$options = "|" . $i18n->get("Select") . "\n" . $options;
|
||||||
}
|
}
|
||||||
$tabform->getTab("meta")->dynamicField(
|
$tabform->getTab("meta")->dynamicField(
|
||||||
name=>"metadata_".$meta->{$field}{fieldId},
|
name => "metadata_".$meta->{$field}{fieldId},
|
||||||
label=>$meta->{$field}{fieldName},
|
label => $meta->{$field}{fieldName},
|
||||||
uiLevel=>5,
|
uiLevel => 5,
|
||||||
value=>$meta->{$field}{value},
|
value => $meta->{$field}{value},
|
||||||
extras=>qq/title="$meta->{$field}{description}"/,
|
extras => qq/title="$meta->{$field}{description}"/,
|
||||||
options=>$options,
|
options => $options,
|
||||||
|
defaultValue => $meta->{$field}{defaultValue},
|
||||||
fieldType=>$fieldType
|
fieldType=>$fieldType
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue