Fixes some YSODs with older dialogs
This commit is contained in:
13
src/Umbraco.Web/UI/Bundles/JsApplicationLib.cs
Normal file
13
src/Umbraco.Web/UI/Bundles/JsApplicationLib.cs
Normal 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
|
||||
{
|
||||
}
|
||||
}
|
||||
13
src/Umbraco.Web/UI/Bundles/JsUmbracoApplicationCore.cs
Normal file
13
src/Umbraco.Web/UI/Bundles/JsUmbracoApplicationCore.cs
Normal 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
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user