Merge pull request #1102 from umbraco/temp-U4-7837

Fixes: U4-7837 Changing document type should refresh the current node
This commit is contained in:
Warren Buckley
2016-02-16 12:22:56 +00:00
5 changed files with 26 additions and 4 deletions

View File

@@ -361,6 +361,12 @@ Umbraco.Sys.registerNamespace("Umbraco.Application");
rootScope : function(){
return getRootScope();
},
reloadLocation: function() {
var injector = getRootInjector();
var $route = injector.get("$route");
$route.reload();
},
closeModalWindow: function(rVal) {