From 386ba19a66aac45dd2f2872d4303fa675021cde5 Mon Sep 17 00:00:00 2001 From: starfighter83 Date: Mon, 15 Mar 2010 10:23:30 +0000 Subject: [PATCH] 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] --- .../umbraco/developer/Xslt/xsltInsertValueOf.aspx.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/umbraco/presentation/umbraco/developer/Xslt/xsltInsertValueOf.aspx.cs b/umbraco/presentation/umbraco/developer/Xslt/xsltInsertValueOf.aspx.cs index 306ec3c9a7..4606ca9390 100644 --- a/umbraco/presentation/umbraco/developer/Xslt/xsltInsertValueOf.aspx.cs +++ b/umbraco/presentation/umbraco/developer/Xslt/xsltInsertValueOf.aspx.cs @@ -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 + ","; }