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


- Log -----------------------------------------------------------------
commit d304002fc0bf75efe1f714d5a5cca91287528cd3
Author: ninadsp <[email protected]>
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

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Phpmyadmin-git mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-git

Reply via email to