Add tag data-ignoreidfordnd=1 to ignor lines for drage and drop lines
This commit is contained in:
parent
1595b38498
commit
d764080636
@ -61,6 +61,7 @@ $(document).ready(function(){
|
|||||||
console.log("tableDND onDrop");
|
console.log("tableDND onDrop");
|
||||||
console.log(decodeURI($("#<?php echo $tagidfortablednd; ?>").tableDnDSerialize()));
|
console.log(decodeURI($("#<?php echo $tagidfortablednd; ?>").tableDnDSerialize()));
|
||||||
$('#<?php echo $tagidfortablednd; ?> tr[data-element=extrafield]').attr('id', ''); // Set extrafields id to empty value in order to ignore them in tableDnDSerialize function
|
$('#<?php echo $tagidfortablednd; ?> tr[data-element=extrafield]').attr('id', ''); // Set extrafields id to empty value in order to ignore them in tableDnDSerialize function
|
||||||
|
$('#<?php echo $tagidfortablednd; ?> tr[data-ignoreidfordnd=1]').attr('id', ''); // Set id to empty value in order to ignore them in tableDnDSerialize function
|
||||||
var roworder = cleanSerialize(decodeURI($("#<?php echo $tagidfortablednd; ?>").tableDnDSerialize()));
|
var roworder = cleanSerialize(decodeURI($("#<?php echo $tagidfortablednd; ?>").tableDnDSerialize()));
|
||||||
var table_element_line = "<?php echo $table_element_line; ?>";
|
var table_element_line = "<?php echo $table_element_line; ?>";
|
||||||
var fk_element = "<?php echo $fk_element; ?>";
|
var fk_element = "<?php echo $fk_element; ?>";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user