[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_3_6-9297-gd304002

Marc Delisle lem9 at users.sourceforge.net
Mon Aug 30 14:37:39 CEST 2010


The branch, master has been updated
       via  d304002fc0bf75efe1f714d5a5cca91287528cd3 (commit)
      from  fdb0d32df4008633cc39a6846211a14611711d25 (commit)


- Log -----------------------------------------------------------------
commit d304002fc0bf75efe1f714d5a5cca91287528cd3
Author: ninadsp <ninadsp16289 at gmail.com>
Date:   Mon Aug 30 00:24:33 2010 +0530

    Re-initialize  for each data field. It was being cleared in a BLOB field, which caused inline editing to fail for all further fields in that row

-----------------------------------------------------------------------

Summary of changes:
 libraries/display_tbl.lib.php |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/libraries/display_tbl.lib.php b/libraries/display_tbl.lib.php
index 26144e0..16ac8c9 100644
--- a/libraries/display_tbl.lib.php
+++ b/libraries/display_tbl.lib.php
@@ -1076,7 +1076,6 @@ function PMA_displayTableBody(&$dt_result, &$is_display, $map, $analyzed_sql) {
          || $_SESSION['tmp_user_values']['disp_direction'] == 'horizontalflipped') {
             // pointer code part
             echo '    <tr class="' . $class . '">' . "\n";
-            $class = $data_inline_edit_class;
         }
 
 
@@ -1204,6 +1203,9 @@ function PMA_displayTableBody(&$dt_result, &$is_display, $map, $analyzed_sql) {
             $meta    = $fields_meta[$i];
             $pointer = $i;
             $is_field_truncated = false;
+            //If the previous column had blob data, we need to reset the class
+            // to $data_inline_edit_class
+            $class = $data_inline_edit_class;
             //If this column's value is null, add the null class to it, needed
             //for inline editing
             if(is_null($row[$i])) {


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list