Fixes some YSODs with older dialogs

This commit is contained in:
Warren
2018-08-06 12:21:31 +01:00
parent dd63ff850c
commit 2fb6588160
3 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
using System.Web.UI;
using ClientDependency.Core;
namespace Umbraco.Web.UI.Bundles
{
/// <summary>
/// The core libs that have no dependencies
/// </summary>
[ClientDependency(ClientDependencyType.Javascript, "lib/umbraco/NamespaceManager.js", "UmbracoRoot", Priority = 0, Group = 0)]
public class JsApplicationLib : Control
{
}
}

View File

@@ -0,0 +1,13 @@
using System.Web.UI;
using ClientDependency.Core;
namespace Umbraco.Web.UI.Bundles
{
/// <summary>
/// The core libs that require JQuery to be loaded
/// </summary>
[ClientDependency(ClientDependencyType.Javascript, "lib/umbraco/LegacyUmbClientMgr.js", "UmbracoRoot", Priority = 1, Group = 2)]
public class JsUmbracoApplicationCore : Control
{
}
}

View File

@@ -441,6 +441,8 @@
<Compile Include="Trees\UserPermissionsTreeController.cs" />
<Compile Include="Trees\UserTreeController.cs" />
<Compile Include="Trees\UsersTreeController.cs" />
<Compile Include="UI\Bundles\JsApplicationLib.cs" />
<Compile Include="UI\Bundles\JsUmbracoApplicationCore.cs" />
<Compile Include="umbraco.presentation\umbraco\developer\Packages\installer.aspx.cs">
<SubType>ASPXCodeBehind</SubType>
</Compile>