Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: COmanage/match
base: main
Choose a base ref
...
head repository: COmanage/match
compare: feature-co2236
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Oct 5, 2021

  1. Copy the full SHA
    5abce17 View commit details
  2. Copy the full SHA
    d692de5 View commit details
Showing with 9 additions and 4 deletions.
  1. +9 −4 app/templates/element/javascript.php
13 changes: 9 additions & 4 deletions app/templates/element/javascript.php
@@ -112,11 +112,18 @@
}
});

// Hide custom user menu items on click outside
// Click outside behaviors
$(document).on('click', function (e) {
// Hide custom user menu items on click outside
if ($(e.target).closest("#user-panel").length === 0) {
$("#user-panel").hide();
}
// Hide popovers on click outside but don't close current popover when interacting with content inside it
$('#content [data-toggle="popover"]').each(function () {
if (!$(this).is(e.target) && $('.popover.show').has(e.target).length === 0) {
$(this).popover('hide');
}
});
});

// TOP SEARCH FILTER FORM
@@ -173,9 +180,7 @@
$("select").addClass("form-control");

// Enable Bootstrap Popovers. Unless needed elsewhere, constrain this to #content
$(function () {
$('#content [data-toggle="popover"]').popover()
});
$('#content [data-toggle="popover"]').popover();

// Other buttons (jQuery)
$(".addbutton").button({