js: fix indexes finding for tabular inlines
js: fix indexes finding for tabular inlines Not sure with but unless I change the code the line 30 finds <i> tags instead of the input.
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
var indexes = [];
|
||||
ui.item.parent().children('tr').each(function(i)
|
||||
{
|
||||
var index_value = $(this).find('.original :hidden:first').val();
|
||||
var index_value = $(this).find('.original').find(':input').first().val();
|
||||
if (index_value !== '' && index_value !== undefined) {
|
||||
indexes.push(index_value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user