WIP installer refactor, fixes issue with tasktype client side rollback
[TFS Changeset #77123]
This commit is contained in:
@@ -110,7 +110,7 @@ namespace umbraco.cms.businesslogic.skinning.tasks
|
||||
ClientSideGetValueScript,
|
||||
ClientSidePreviewEventType,
|
||||
string.IsNullOrEmpty(Media) ? "" : string.Format("media :'{0}',",Media),
|
||||
new Guid().ToString().Replace("-", ""));
|
||||
Guid.NewGuid().ToString().Replace("-", ""));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ namespace umbraco.cms.businesslogic.skinning.tasks
|
||||
Value,
|
||||
ClientSideGetValueScript,
|
||||
ClientSidePreviewEventType,
|
||||
new Guid().ToString().Replace("-", ""));
|
||||
Guid.NewGuid().ToString().Replace("-", ""));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -69,6 +69,7 @@ namespace umbraco.cms.businesslogic.skinning.tasks
|
||||
|
||||
public override string PreviewClientScript(string ControlClientId,string ClientSidePreviewEventType, string ClientSideGetValueScript)
|
||||
{
|
||||
|
||||
if (string.IsNullOrEmpty(TargetAttribute))
|
||||
{
|
||||
return string.Format(
|
||||
@@ -86,7 +87,7 @@ namespace umbraco.cms.businesslogic.skinning.tasks
|
||||
TargetID,
|
||||
ClientSideGetValueScript,
|
||||
ClientSidePreviewEventType,
|
||||
new Guid().ToString().Replace("-",""));
|
||||
Guid.NewGuid().ToString().Replace("-", ""));
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -107,7 +108,7 @@ namespace umbraco.cms.businesslogic.skinning.tasks
|
||||
TargetAttribute,
|
||||
ClientSideGetValueScript,
|
||||
ClientSidePreviewEventType,
|
||||
new Guid().ToString().Replace("-", ""));
|
||||
Guid.NewGuid().ToString().Replace("-", ""));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user