Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #5746 from adobe/rlim/hints-issue-5740
Browse files Browse the repository at this point in the history
Check filename header clicks in the right context.
  • Loading branch information
JeffryBooher committed Oct 29, 2013
2 parents 4a840ec + 3b3e02a commit ecc9ab3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/editor/MultiRangeInlineEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,8 @@ define(function (require, exports, module) {
}

// Ignore clicks in editor and clicks on filename link
if (!containsClick($(editorRoot)) && !containsClick($(".filename", this.$editorHolder))) {
// Check clicks on filename link in the context of the current inline widget.
if (!containsClick($(editorRoot)) && !containsClick($(".filename", this.$htmlContent))) {
childEditor.focus();
// Only set the cursor if the click isn't in the range list.
if (!containsClick(this.$relatedContainer)) {
Expand Down

0 comments on commit ecc9ab3

Please sign in to comment.