From 5cd7fc128abca9022f8521edc536e81dad7d61bc Mon Sep 17 00:00:00 2001 From: perploug Date: Wed, 21 Aug 2013 14:25:09 +0200 Subject: [PATCH] CloseDialogs() ignores clicks inside the #navigation --- src/Umbraco.Web.UI.Client/src/views/common/main.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/views/common/main.controller.js b/src/Umbraco.Web.UI.Client/src/views/common/main.controller.js index 1812e058ec..6b5b816663 100644 --- a/src/Umbraco.Web.UI.Client/src/views/common/main.controller.js +++ b/src/Umbraco.Web.UI.Client/src/views/common/main.controller.js @@ -37,7 +37,7 @@ function MainController($scope, $routeParams, $rootScope, $timeout, $http, notif var pEl = event.target.parentElement.nodeName; //SD: I've updated this so that we don't close the dialog when clicking inside of the dialog - if ($(event.target).closest("#dialog").length === 1) { + if ($(event.target).closest("#navigation").length === 1) { return; }