fixes U4-3054 icon picker viewstate
This commit is contained in:
@@ -35,6 +35,12 @@
|
||||
<key alias="toPublish">שלח לפירסום</key>
|
||||
<key alias="translate">תרגם</key>
|
||||
<key alias="update">עדכן</key>
|
||||
<key alias="DeleteCMSImportAction">Delete</key>
|
||||
<key alias="ExecuteCMSImportWizardAction">Execute</key>
|
||||
<key alias="ScheduleCMSImportWizardAction">Schedule</key>
|
||||
<key alias="StartCMSImportWizardAction">Import Data</key>
|
||||
<key alias="StartCMSImportChildDefinitionAction">Create child definition</key>
|
||||
<key alias="LastRunInfoAction">Scheduled task log</key>
|
||||
</area>
|
||||
<area alias="assignDomain">
|
||||
<key alias="addNew">הוסף דומיין חדש</key>
|
||||
|
||||
@@ -120,6 +120,11 @@ namespace umbraco.controls
|
||||
PanePropertiesInherited.Visible = true;
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(_contentType.IconUrl))
|
||||
lt_icon.Text = "icon-document";
|
||||
else
|
||||
lt_icon.Text = _contentType.IconUrl.TrimStart('.');
|
||||
|
||||
checkTxtAliasJs.Text = string.Format("checkAlias('{0}');", txtAlias.ClientID);
|
||||
}
|
||||
|
||||
@@ -264,6 +269,9 @@ namespace umbraco.controls
|
||||
protected void save_click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
//sync state betweet lt and hidden value
|
||||
lt_icon.Text = tb_icon.Value;
|
||||
|
||||
var state = new SaveAsyncState(
|
||||
UmbracoContext,
|
||||
new SaveClickEventArgs("Saved")
|
||||
|
||||
Reference in New Issue
Block a user