Skip to content

Commit

Permalink
Fixed popoover list files
Browse files Browse the repository at this point in the history
  • Loading branch information
gicaz committed Jun 12, 2017
1 parent 575b419 commit b9f6ac0
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions assets/js/modules/XtensTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -526,17 +526,18 @@
}).on("mouseenter", function () {
var _this = this;
$(this).popover("show");
$(".popover").on("mouseleave", function () {
if (!$(".xtenstable-files:hover").length) {
$(_this).popover("hide");
}
});
}).on("mouseleave", function () {
var _this = this;
if (!$(".popover:hover").length && !$(".xtenstable-files:hover").length) {
$(_this).popover("hide");
}
}).popover('show');

$(".popover").on("mouseleave", function () {
if (!$(".xtenstable-files:hover").length) {
$(ev.currentTarget).popover("hide");
}
});
// that.listenTo(view, 'closeMe', that.removeChild);
// that.childrenViews.push(view);
},
Expand Down

0 comments on commit b9f6ac0

Please sign in to comment.