Modified the handlers for ajax inline edit so that only the text areas are modified
This commit is contained in:
@@ -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);
|
||||
}
|
||||
})
|
||||
})
|
||||
})
|
Reference in New Issue
Block a user