Identify non inline-editable columns based on class 'inline_edit'.

This commit is contained in:
Madhura Jayaratne
2011-03-12 07:52:45 +05:30
parent 7ef6fbaabc
commit 2e2474eb68

View File

@@ -448,7 +448,7 @@ $(document).ready(function() {
var blob_index = [];
var k = 0;
for(var i = 4; i < last_column; i++){
if($this_hide.siblings("td:eq(" + i + ")").children('a:eq(0)').length ){
if($this_hide.siblings("td:eq(" + i + ")").hasClass("inline_edit") == false){
blob_index[k] = i;
k++;
continue;
@@ -497,7 +497,7 @@ $(document).ready(function() {
var blob_index = [];
var k = 0;
for( var i = 6; i <= rows + 2; i++){
if( $this_row.siblings("tr:eq(" + i + ") td:eq(" + pos + ") a:eq(0)").length !=0 ){
if( $this_row.siblings("tr:eq(" + i + ") td:eq(" + pos + ")").hasClass("inline_edit") == false){
blob_index[k] = i;
k++;
continue;