diff --git a/js/sql.js b/js/sql.js index 7e8bccf9d..26075d48f 100644 --- a/js/sql.js +++ b/js/sql.js @@ -1152,7 +1152,7 @@ $(document).ready(function() { /** * vertical column marking in horizontal mode when clicking the column header */ - $('.column_heading.pointer').live('click', function() { + $('.column_heading.marker').live('click', function() { PMA_changeClassForColumn($(this), 'marked'); }); }) diff --git a/libraries/display_tbl.lib.php b/libraries/display_tbl.lib.php index c5b46fbc4..64a0383cd 100644 --- a/libraries/display_tbl.lib.php +++ b/libraries/display_tbl.lib.php @@ -870,6 +870,9 @@ function PMA_displayTableHeaders(&$is_display, &$fields_meta, $fields_cnt = 0, $ if ($GLOBALS['cfg']['BrowsePointerEnable'] == true) { $th_class[] = 'pointer'; } + if ($GLOBALS['cfg']['BrowseMarkerEnable'] == true) { + $th_class[] = 'marker'; + } echo ' class="' . implode(' ', $th_class) . '"'; if ($_SESSION['tmp_user_values']['disp_direction'] == 'horizontalflipped') {