diff --git a/foreign dlls/DotNetOpenMail.dll b/foreign dlls/DotNetOpenMail.dll deleted file mode 100644 index 2a9447cbed..0000000000 Binary files a/foreign dlls/DotNetOpenMail.dll and /dev/null differ diff --git a/foreign dlls/ImageManipulation.dll b/foreign dlls/ImageManipulation.dll deleted file mode 100644 index b0d8364529..0000000000 Binary files a/foreign dlls/ImageManipulation.dll and /dev/null differ diff --git a/foreign dlls/TidyDll.dll b/foreign dlls/TidyDll.dll deleted file mode 100644 index ece5d743b8..0000000000 Binary files a/foreign dlls/TidyDll.dll and /dev/null differ diff --git a/foreign dlls/UmbracoExamine.Core.dll b/foreign dlls/UmbracoExamine.Core.dll new file mode 100644 index 0000000000..a8a55efaaf Binary files /dev/null and b/foreign dlls/UmbracoExamine.Core.dll differ diff --git a/foreign dlls/UmbracoExamine.Providers.dll b/foreign dlls/UmbracoExamine.Providers.dll new file mode 100644 index 0000000000..c554be30a6 Binary files /dev/null and b/foreign dlls/UmbracoExamine.Providers.dll differ diff --git a/umbraco.sln b/umbraco.sln index 6d6b74eeb0..60f645396b 100644 --- a/umbraco.sln +++ b/umbraco.sln @@ -5,7 +5,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution foreign dlls\AjaxControlToolkit.dll = foreign dlls\AjaxControlToolkit.dll build.xml = build.xml foreign dlls\CookComputing.XmlRpcV2.dll = foreign dlls\CookComputing.XmlRpcV2.dll - foreign dlls\DotNetOpenMail.dll = foreign dlls\DotNetOpenMail.dll foreign dlls\ICSharpCode.SharpZipLib.dll = foreign dlls\ICSharpCode.SharpZipLib.dll foreign dlls\IronMath.dll = foreign dlls\IronMath.dll IronPython License.Rtf = IronPython License.Rtf diff --git a/umbraco/presentation/config/ClientDependency.config b/umbraco/presentation/config/ClientDependency.config new file mode 100644 index 0000000000..6daee1dcf4 --- /dev/null +++ b/umbraco/presentation/config/ClientDependency.config @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/umbraco/presentation/umbraco.presentation.csproj b/umbraco/presentation/umbraco.presentation.csproj index 7fb32dade4..2018d59049 100644 --- a/umbraco/presentation/umbraco.presentation.csproj +++ b/umbraco/presentation/umbraco.presentation.csproj @@ -97,6 +97,14 @@ False ..\..\foreign dlls\ICSharpCode.SharpZipLib.dll + + False + ..\..\foreign dlls\IronMath.dll + + + False + ..\..\foreign dlls\IronPython.dll + System @@ -1877,6 +1885,7 @@ + SettingsSingleFileGenerator Settings.Designer.cs @@ -1901,15 +1910,6 @@ - - - - - - - - - @@ -2752,7 +2752,6 @@ - diff --git a/umbraco/presentation/umbraco/controls/ContentTypeControlNew.ascx b/umbraco/presentation/umbraco/controls/ContentTypeControlNew.ascx index 0c92bcb62c..5a5b0a95d9 100644 --- a/umbraco/presentation/umbraco/controls/ContentTypeControlNew.ascx +++ b/umbraco/presentation/umbraco/controls/ContentTypeControlNew.ascx @@ -3,6 +3,7 @@ <%@ Control Language="c#" AutoEventWireup="True" Codebehind="ContentTypeControlNew.ascx.cs" Inherits="umbraco.controls.ContentTypeControlNew" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %> + diff --git a/umbraco/presentation/umbraco/controls/ContentTypeControlNew.ascx.cs b/umbraco/presentation/umbraco/controls/ContentTypeControlNew.ascx.cs index 87c7763b69..ea5b67fef0 100644 --- a/umbraco/presentation/umbraco/controls/ContentTypeControlNew.ascx.cs +++ b/umbraco/presentation/umbraco/controls/ContentTypeControlNew.ascx.cs @@ -11,14 +11,9 @@ using ClientDependency.Core; namespace umbraco.controls { - /// - /// TODO: REmove the dependencies on prototype and scriptaculous!! - /// doesn't work when combining scripts which is why DoNotOptimize is flagged. - /// - //[ClientDependency(501, ClientDependencyType.Javascript, "js/scriptaculous/scriptaculous.js?load=effects,dragdrop", "UmbracoRoot", InvokeJavascriptMethodOnLoad = "Position.includeScrollOffsets = true;", DoNotOptimize = true)] - [ClientDependency(500, ClientDependencyType.Javascript, "js/prototype.js", "UmbracoRoot", DoNotOptimize = true)] - [ClientDependency(501, ClientDependencyType.Javascript, "js/scriptaculous/scriptaculous.js?load=effects,dragdrop", "UmbracoRoot", DoNotOptimize = true)] - [ClientDependency(ClientDependencyType.Css, "Tree/treeIcons.css", "UmbracoClient")] + + [ClientDependency(ClientDependencyType.Javascript, "ui/jqueryui.js", "UmbracoClient")] + [ClientDependency(ClientDependencyType.Css, "Tree/treeIcons.css", "UmbracoClient")] [ClientDependency(ClientDependencyType.Css, "Tree/Themes/umbraco/styles.css", "UmbracoClient")] public partial class ContentTypeControlNew : System.Web.UI.UserControl { @@ -318,7 +313,20 @@ namespace umbraco.controls PropertyTypes.Controls.Add(new LiteralControl("")); - PropertyTypes.Controls.Add(new LiteralControl("")); + + var jsSortable = @" + (function($) { + var propSortId = ""#" + propSort.ClientID + @"""; + $(document).ready(function() { + $(propSortId).next("".genericPropertyList"").sortable({containment: 'parent', tolerance: 'pointer', + update: function(event, ui) { + $(propSortId).val($(this).sortable('serialize')); + }}); + }); + })(jQuery);"; + + Page.ClientScript.RegisterStartupScript(this.GetType(), propSort.ClientID, jsSortable, true); + } else { @@ -371,7 +379,21 @@ namespace umbraco.controls propertiesPH.Controls.Add(new LiteralControl("")); - propertiesPH.Controls.Add(new LiteralControl("")); + //propertiesPH.Controls.Add(new LiteralControl("")); + + var jsSortable_gp = @" + (function($) { + var propSortId = ""#" + propSort_gp.ClientID + @"""; + $(document).ready(function() { + $(propSortId).next("".genericPropertyList"").sortable({containment: 'parent', tolerance: 'pointer', + update: function(event, ui) { + $(propSortId).val($(this).sortable('serialize')); + }}); + }); + })(jQuery);"; + + Page.ClientScript.RegisterStartupScript(this.GetType(), "propSort_gp", jsSortable_gp, true); + if (!propertyTabHasProperties) { diff --git a/umbraco/presentation/umbraco/controls/ContentTypeControlNew.ascx.designer.cs b/umbraco/presentation/umbraco/controls/ContentTypeControlNew.ascx.designer.cs index b59373edac..3b5f0705d6 100644 --- a/umbraco/presentation/umbraco/controls/ContentTypeControlNew.ascx.designer.cs +++ b/umbraco/presentation/umbraco/controls/ContentTypeControlNew.ascx.designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:2.0.50727.3053 +// Runtime Version:2.0.50727.3074 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/umbraco/presentation/umbraco/developer/Packages/Boost.aspx b/umbraco/presentation/umbraco/developer/Packages/Boost.aspx index f844141725..5f29842b37 100644 --- a/umbraco/presentation/umbraco/developer/Packages/Boost.aspx +++ b/umbraco/presentation/umbraco/developer/Packages/Boost.aspx @@ -5,7 +5,7 @@ - +