The branch, master has been updated
via 10867bb1fc5f07dbab735753a43995e24119d477 (commit)
from 5381b2f600f9574ff149628316d67c40be53565d (commit)
- Log -----------------------------------------------------------------
commit 10867bb1fc5f07dbab735753a43995e24119d477
Author: Piotr Przybylski <[email protected]>
Date: Sat Apr 16 21:23:24 2011 +0200
fix column highlighting for cases where big T is not displayed (eg. in
information_schema tables)
-----------------------------------------------------------------------
Summary of changes:
js/sql.js | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/js/sql.js b/js/sql.js
index 7a70af3..8a97eec 100644
--- a/js/sql.js
+++ b/js/sql.js
@@ -1058,8 +1058,11 @@ function PMA_unInlineEditRow($del_hide, $chg_submit,
$this_td, $input_siblings,
function PMA_changeClassForColumn($this_th, newclass) {
// index 0 is the th containing the big T
var th_index = $this_th.index();
+ var has_big_t =
!$this_th.closest('tr').children(':first').hasClass('column_heading');
// .eq() is zero-based
- th_index--;
+ if (has_big_t) {
+ th_index--;
+ }
var $tds = $this_th.closest('table').find('tbody
tr').find('td.data:eq('+th_index+')');
if ($this_th.data('has_class_'+newclass)) {
$tds.removeClass(newclass);
hooks/post-receive
--
phpMyAdmin
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Phpmyadmin-git mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-git