Merge branch 'master' of github.com:phpmyadmin/phpmyadmin

This commit is contained in:
Jo Michael 2012-04-11 19:46:31 +02:00
commit fde69c836a
2 changed files with 8 additions and 1 deletions

View File

@ -34,6 +34,8 @@ phpMyAdmin - ChangeLog
- bug #3515666 [display] Profiling chart shows wrong data
- bug #3516037 [auth] JS includes missing in auth config error page
- bug #3516183 [display] Missing image extension
- bug [display] Added missing icons in original theme
- bug #3516761 [edit] Query error after search
3.5.0.0 (2012-04-07)
+ rfe #2021981 [interface] Add support for mass prefix change.

View File

@ -43,7 +43,12 @@ function getFieldName($this_field)
var field_name = $('#table_results').find('thead').find('th:eq('+ (this_field_index - left_action_skip) + ') a').text();
// happens when just one row (headings contain no a)
if ("" == field_name) {
field_name = $('#table_results').find('thead').find('th:eq('+ (this_field_index - left_action_skip) + ')').text();
var $heading = $('#table_results').find('thead').find('th:eq('+ (this_field_index - left_action_skip) + ')').children('span');
// may contain column comment enclosed in a span - detach it temporarily to read the column name
var $tempColComment = $heading.children().detach();
field_name = $heading.text();
// re-attach the column comment
$heading.append($tempColComment);
}
field_name = $.trim(field_name);