Improved fix for bug #3313210

This commit is contained in:
Marc Delisle
2011-06-07 11:43:30 -04:00
parent 82ac1e8028
commit 2d56821c0f
2 changed files with 4 additions and 1 deletions

View File

@@ -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');
});
})

View File

@@ -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') {