From 8261a2b69be9c0dd2b069d64a99f0f5d5f5183c3 Mon Sep 17 00:00:00 2001 From: perploug Date: Mon, 24 Feb 2014 09:33:39 +0100 Subject: [PATCH] Fixes U4-4271 U7.1 Nightly build 16 YSOD when editing doc type --- .../common/directives/validation/valformmanager.directive.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/validation/valformmanager.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/validation/valformmanager.directive.js index 7ff8f2b1a3..5a7fc834dc 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/validation/valformmanager.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/validation/valformmanager.directive.js @@ -66,6 +66,10 @@ function valFormManager(serverValidationManager, $rootScope, $log, notifications return; } var path = url.split("#")[1]; + if(path.indexOf("%253") || path.indexOf("%252")){ + path = decodeURIComponent(path); + } + var msg = {view: "confirmroutechange", args: {path: path, listener: locationEvent}}; notificationsService.add(msg);