Modified the handlers for ajax inline edit so that only the text areas are modified

This commit is contained in:
ninadsp
2010-07-15 22:23:05 +05:30
parent ec38092bde
commit e309386703

View File

@@ -110,7 +110,9 @@ $(document).ready(function() {
$(input_siblings).each(function() {
var data_value = $(this).html();
if($(this).is(':not(.truncated, .transformed, .relation)')) {
$(this).html('<textarea>'+data_value+'</textarea>');
}
})
})
@@ -130,7 +132,9 @@ $(document).ready(function() {
$(input_siblings).each(function() {
var new_data_value = $(this).find('textarea').html();
if($(this).is(':not(.truncated, .transformed, .relation)')) {
$(this).html(new_data_value);
}
})
})
})