WORK IN PROGRESS, GET THE STABLE SOURCE FROM THE DOWNLOADS TAB

Updates insert value of  dialog (edit xslt file) to reflect xml schema changes

[TFS Changeset #64738]
This commit is contained in:
starfighter83
2010-03-15 10:23:30 +00:00
parent 49e32dce0a
commit 386ba19a66

View File

@@ -32,7 +32,11 @@ namespace umbraco.developer
foreach (PropertyType pt in PropertyType.GetAll())
if (!existingGenProps.Contains("," + pt.Alias + ","))
{
preValuesSource.Add(string.Format("data [@alias = '{0}']", pt.Alias));
if(UmbracoSettings.UseLegacyXmlSchema)
preValuesSource.Add(string.Format("data [@alias = '{0}']", pt.Alias));
else
preValuesSource.Add(pt.Alias);
existingGenProps += pt.Alias + ",";
}