From b9a6342a17c73db5842978d79f65f4ebaa3ec77f Mon Sep 17 00:00:00 2001 From: onebighack Date: Sat, 5 Mar 2011 14:38:46 -0500 Subject: [PATCH] Bug #3200458 Hiding Inline edit problematic for foreign keys --- js/sql.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/sql.js b/js/sql.js index 3e0388ee9..32a9faa49 100644 --- a/js/sql.js +++ b/js/sql.js @@ -437,7 +437,7 @@ $(document).ready(function() { var last_column = $this_hide.siblings().length; var txt=[]; for(var i=4; i < last_column; i++){ - txt[i-4] = $this_hide.siblings("td:eq(" + i + ")").children(' .original_data').text(); + txt[i-4] = $this_hide.siblings("td:eq(" + i + ")").children(' .original_data').html(); } for (var i=4; i < last_column; i++){ $this_hide.siblings("td:eq(" + i + ")").empty(); @@ -473,7 +473,7 @@ $(document).ready(function() { } for( var i=6;i<=rows+2;i++){ - txt[i-6]=$this_row.siblings("tr:eq("+i+") td:eq("+pos+") span.original_data").text(); + txt[i-6]=$this_row.siblings("tr:eq("+i+") td:eq("+pos+") span.original_data").html(); } for (var i=6;i<=rows+2;i++){ $this_row.siblings("tr:eq("+i+") td:eq("+pos+")").empty();