diff --git a/application/views/awards/details.php b/application/views/awards/details.php index 59261177..f656d527 100644 --- a/application/views/awards/details.php +++ b/application/views/awards/details.php @@ -1,3 +1,3 @@ -
+
-load->view('view_log/partial/log_ajax') ?> \ No newline at end of file +load->view('view_log/partial/log_ajax'); ?> \ No newline at end of file diff --git a/application/views/interface_assets/footer.php b/application/views/interface_assets/footer.php index 021e7106..624464a5 100644 --- a/application/views/interface_assets/footer.php +++ b/application/views/interface_assets/footer.php @@ -532,6 +532,9 @@ $(function () { $(".searchbutton").removeClass('running'); $(".searchbutton").prop('disabled', false); $("#btn-save").show(); + $('.table-responsive .dropdown-toggle').off('mouseenter').on('mouseenter', function () { + showQsoActionsMenu($(this).closest('.dropdown')); + }); }); } else { BootstrapDialog.show({ @@ -817,37 +820,6 @@ function showActivatorsMap(call, count, grids) { $(function () { $('[data-bs-toggle="tooltip"]').tooltip() }); - - $(function () { - // hold onto the drop down menu - var dropdownMenu; - - // and when you show it, move it to the body - $(window).on('show.bs.dropdown', function (e) { - - // grab the menu - dropdownMenu = $(e.target).find('.dropdown-menu'); - - // detach it and append it to the body - $('body').append(dropdownMenu.detach()); - - // grab the new offset position - var eOffset = $(e.target).offset(); - - // make sure to place it where it would normally go (this could be improved) - dropdownMenu.css({ - 'display': 'block', - 'top': eOffset.top + $(e.target).outerHeight(), - 'left': eOffset.left - }); - }); - - // and when you hide it, reattach the drop down, and hide it normally - $(window).on('hide.bs.dropdown', function (e) { - $(e.target).append(dropdownMenu.detach()); - dropdownMenu.hide(); - }); - }); uri->segment(1) == "search") { ?> @@ -1642,6 +1614,9 @@ $(document).ready(function(){ $('#exampleModal').modal('show'); $('[data-bs-toggle="tooltip"]').tooltip({ boundary: 'window' }); } + $('.table-responsive .dropdown-toggle').off('mouseenter').on('mouseenter', function () { + showQsoActionsMenu($(this).closest('.dropdown')); + }); } }); } @@ -1776,6 +1751,9 @@ $(document).ready(function(){ $('#exampleModal').modal('show'); $('[data-bs-toggle="tooltip"]').tooltip({ boundary: 'window' }); } + $('.table-responsive .dropdown-toggle').off('mouseenter').on('mouseenter', function () { + showQsoActionsMenu($(this).closest('.dropdown')); + }); } }); @@ -2185,6 +2163,9 @@ $(document).ready(function(){ message: html, onshown: function(dialog) { $('[data-bs-toggle="tooltip"]').tooltip(); + $('.table-responsive .dropdown-toggle').off('mouseenter').on('mouseenter', function () { + showQsoActionsMenu($(this).closest('.dropdown')); + }); }, buttons: [{ label: lang_admin_close, @@ -2491,6 +2472,9 @@ function viewEqsl(picture, callsign) { 'csv' ] }); + $('.table-responsive .dropdown-toggle').off('mouseenter').on('mouseenter', function () { + showQsoActionsMenu($(this).closest('.dropdown')); + }); }, buttons: [{ label: lang_admin_close, @@ -2513,7 +2497,7 @@ function viewEqsl(picture, callsign) { 'Mode': mode, 'Type': type, 'QSL' : qsl - }, + }, success: function (html) { var dialog = new BootstrapDialog({ title: lang_general_word_qso_data, @@ -2536,6 +2520,9 @@ function viewEqsl(picture, callsign) { 'csv' ] }); + $('.table-responsive .dropdown-toggle').off('mouseenter').on('mouseenter', function () { + showQsoActionsMenu($(this).closest('.dropdown')); + }); }, buttons: [{ label: lang_admin_close, diff --git a/application/views/search/search_result_ajax.php b/application/views/search/search_result_ajax.php index f26870bb..16c94bfb 100644 --- a/application/views/search/search_result_ajax.php +++ b/application/views/search/search_result_ajax.php @@ -419,7 +419,7 @@ $ci =& get_instance(); -