diff --git a/src/Umbraco.Web.UI.Client/src/common/services/util.service.js b/src/Umbraco.Web.UI.Client/src/common/services/util.service.js index 0b416a2753..64e4fa222b 100644 --- a/src/Umbraco.Web.UI.Client/src/common/services/util.service.js +++ b/src/Umbraco.Web.UI.Client/src/common/services/util.service.js @@ -1,20 +1,20 @@ /*Contains multiple services for various helper tasks */ -function packageHelper(assetsService, treeService, eventsService) { +function packageHelper(assetsService, treeService, eventsService, $templateCache) { return { /** Called when a package is installed, this resets a bunch of data and ensures the new package assets are loaded in */ packageInstalled: function () { - //assetsService._reloadApplicationAssets().then(function() { - // treeService.clearCache(); - // //send event - // //eventsService.emit("app.reInitialize"); - // //TODO: This doesn't work and will end in an infinite browser load loop, we can't really - // // re-bootstrap anyways since that would be the same as loading the whole browser window. - // //angular.bootstrap(document, ['umbraco']); - //}); + //clears the tree + treeService.clearCache(); + + //clears the template cache + $templateCache.removeAll(); + + //emit event to notify anything else + eventsService.emit("app.reInitialize"); } }; diff --git a/src/Umbraco.Web.UI/umbraco/Views/Default.cshtml b/src/Umbraco.Web.UI/umbraco/Views/Default.cshtml index d7ce3ddb63..1f036c8609 100644 --- a/src/Umbraco.Web.UI/umbraco/Views/Default.cshtml +++ b/src/Umbraco.Web.UI/umbraco/Views/Default.cshtml @@ -5,15 +5,9 @@ @using Umbraco.Web @using Umbraco.Web.Editors @using umbraco -@inherits System.Web.Mvc.WebViewPage -@{ - Layout = null; - var applicationJs = Url.Action("Application", "BackOffice"); - if (GlobalSettings.DebugMode) { - applicationJs = applicationJs + "?umb__rnd=" + System.DateTime.Now.Ticks; - } -} +@inherits System.Web.Mvc.WebViewPage + @@ -61,7 +55,7 @@ @*And finally we can load in our angular app*@ - + diff --git a/src/Umbraco.Web.UI/umbraco/developer/Packages/installer.aspx b/src/Umbraco.Web.UI/umbraco/developer/Packages/installer.aspx index 0aae25a974..1f0c4a873e 100644 --- a/src/Umbraco.Web.UI/umbraco/developer/Packages/installer.aspx +++ b/src/Umbraco.Web.UI/umbraco/developer/Packages/installer.aspx @@ -28,6 +28,7 @@ + @@ -35,6 +36,7 @@ +

@@ -94,6 +96,7 @@ +
@@ -103,6 +106,7 @@ notifies you the install is completed.

+ @@ -121,8 +125,8 @@
-

- Binary files in the package!

+

Binary files in the package!

+ Read more...

@@ -140,6 +144,7 @@

+
@@ -158,6 +163,7 @@

+

@@ -198,6 +204,7 @@

+

@@ -219,6 +226,7 @@

+

@@ -240,6 +248,7 @@

+