" + - docDescription + "
'\n"); - - if (typeInited == false) - { - descr.Text = "" + - docDescription + "
"; - typeInited = true; - - } - counter++; - } - } - // The Any check is here for backwards compatibility, if none are allowed at root, then all are allowed - else if (documentTypeList.Any(d => d.AllowAtRoot) == false || dt.AllowAtRoot) - { - nodeType.Items.Add(li); - js.Append("typeInfo[" + counter + "] = '" + - docDescription + "
'\n"); - if (typeInited == false) - { - descr.Text = "" + - docDescription + "
'"; - typeInited = true; - } - counter++; - } - - - } - if (nodeType.Items.Count == 0) { - sbmt.Enabled = false; - } - typeJs.Text = "\n "; - } - } - - - protected void sbmt_Click(object sender, EventArgs e) - { - DoCreation(); - } - - private void DoCreation() - { - if (Page.IsValid) - { - var returnUrl = LegacyDialogHandler.Create( - new HttpContextWrapper(Context), - BasePage.Current.getUser(), - helper.Request("nodeType"), - int.Parse(Request["nodeID"]), - rename.Text, - int.Parse(nodeType.SelectedValue)); - - BasePage.Current.ClientTools - .ChangeContentFrameUrl(returnUrl) - .CloseModalWindow(); - - } - } - } -} \ No newline at end of file diff --git a/src/Umbraco.Web/umbraco.presentation/umbraco/create/content.ascx.designer.cs b/src/Umbraco.Web/umbraco.presentation/umbraco/create/content.ascx.designer.cs deleted file mode 100644 index 0aca74c8ee..0000000000 --- a/src/Umbraco.Web/umbraco.presentation/umbraco/create/content.ascx.designer.cs +++ /dev/null @@ -1,88 +0,0 @@ -//------------------------------------------------------------------------------ -//
- Login Name:
-
-
- E-mail:
-
-
- Password:
-
-
-