CloseDialogs() ignores clicks inside the #navigation

This commit is contained in:
perploug
2013-08-21 14:25:09 +02:00
parent 35538d0fa2
commit 5cd7fc128a

View File

@@ -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;
}