Fixes issues with transfering logic over to LegacyDialogHandler
This commit is contained in:
@@ -1985,9 +1985,11 @@
|
||||
<SubType>UserControl</SubType>
|
||||
</Content>
|
||||
<Content Include="umbraco.presentation\umbraco\create\media.ascx" />
|
||||
<Content Include="umbraco.presentation\umbraco\create\member.ascx" />
|
||||
<Content Include="umbraco.presentation\umbraco\create\member.ascx">
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Content>
|
||||
<Content Include="umbraco.presentation\umbraco\create\nodeType.ascx">
|
||||
<SubType>UserControl</SubType>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Content>
|
||||
<Content Include="umbraco.presentation\umbraco\create\simple.ascx" />
|
||||
<Content Include="umbraco.presentation\umbraco\create\xslt.ascx">
|
||||
|
||||
@@ -45,7 +45,8 @@ namespace umbraco.presentation.create
|
||||
new HttpContextWrapper(Context),
|
||||
BasePage.Current.getUser(),
|
||||
helper.Request("nodeType"),
|
||||
createMacroVal, template.SelectedValue + "|||" + rename.Text + "." + filetype.SelectedValue);
|
||||
createMacroVal,
|
||||
template.SelectedValue + "|||" + rename.Text + "." + filetype.SelectedValue);
|
||||
|
||||
BasePage.Current.ClientTools
|
||||
.ChangeContentFrameUrl(returnUrl)
|
||||
|
||||
@@ -118,7 +118,6 @@ namespace umbraco.cms.presentation.create.controls
|
||||
doCreation();
|
||||
}
|
||||
|
||||
|
||||
private void doCreation()
|
||||
{
|
||||
if (Page.IsValid)
|
||||
@@ -127,9 +126,9 @@ namespace umbraco.cms.presentation.create.controls
|
||||
new HttpContextWrapper(Context),
|
||||
BasePage.Current.getUser(),
|
||||
helper.Request("nodeType"),
|
||||
int.Parse(nodeType.SelectedValue),
|
||||
int.Parse(Request["nodeID"]),
|
||||
rename.Text,
|
||||
int.Parse(Request["nodeID"]));
|
||||
int.Parse(nodeType.SelectedValue));
|
||||
|
||||
BasePage.Current.ClientTools
|
||||
.ChangeContentFrameUrl(returnUrl)
|
||||
|
||||
@@ -73,9 +73,9 @@ namespace umbraco.cms.presentation.create.controls
|
||||
new HttpContextWrapper(Context),
|
||||
BasePage.Current.getUser(),
|
||||
helper.Request("nodeType"),
|
||||
int.Parse(nodeType.SelectedValue),
|
||||
int.Parse(Request["nodeID"]),
|
||||
rename.Text,
|
||||
int.Parse(Request["nodeID"]));
|
||||
int.Parse(nodeType.SelectedValue));
|
||||
|
||||
BasePage.Current.ClientTools
|
||||
.ChangeContentFrameUrl(returnUrl)
|
||||
|
||||
@@ -93,9 +93,9 @@ namespace umbraco.cms.presentation.create.controls
|
||||
new HttpContextWrapper(Context),
|
||||
BasePage.Current.getUser(),
|
||||
helper.Request("nodeType"),
|
||||
memberType,
|
||||
-1,
|
||||
rename.Text + emailAppend,
|
||||
-1);
|
||||
memberType);
|
||||
|
||||
BasePage.Current.ClientTools
|
||||
.ChangeContentFrameUrl(returnUrl)
|
||||
|
||||
@@ -66,9 +66,9 @@ namespace umbraco.cms.presentation.create.controls
|
||||
new HttpContextWrapper(Context),
|
||||
BasePage.Current.getUser(),
|
||||
helper.Request("nodeType"),
|
||||
int.Parse(masterTypeVal),
|
||||
createTemplateVal,
|
||||
rename.Text,
|
||||
createTemplateVal);
|
||||
int.Parse(masterTypeVal));
|
||||
|
||||
BasePage.Current.ClientTools
|
||||
.ChangeContentFrameUrl(returnUrl)
|
||||
|
||||
Reference in New Issue
Block a user