Skip to content

Commit

Permalink
Fixes jquery selector bug, http://issues.umbraco.org/issue/U4-8418
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwincent committed Mar 13, 2017
1 parent dc71f9c commit fc92d40
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -163,13 +163,13 @@ angular.module('umbraco.directives')
}

// ignore clicks on dialog from old dialog service
var oldDialog = $(el).parents("#old-dialog-service");
var oldDialog = $(event.target).parents("#old-dialog-service");
if (oldDialog.length === 1) {
return;
}

// ignore clicks in tinyMCE dropdown(floatpanel)
var floatpanel = $(el).parents(".mce-floatpanel");
var floatpanel = $(event.target).closest(".mce-floatpanel");
if (floatpanel.length === 1) {
return;
}
Expand Down

0 comments on commit fc92d40

Please sign in to comment.