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.master
parent
70549b2517
commit
33074d8f65
|
|
@ -27,7 +27,7 @@
|
||||||
var indexes = [];
|
var indexes = [];
|
||||||
ui.item.parent().children('tr').each(function(i)
|
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) {
|
if (index_value !== '' && index_value !== undefined) {
|
||||||
indexes.push(index_value);
|
indexes.push(index_value);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue