Skip to content

Commit

Permalink
Update _script.php
Browse files Browse the repository at this point in the history
  • Loading branch information
mootensai committed Jul 28, 2015
1 parent b5f67a0 commit 1c33de7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crud/default/views/_script.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ function addRow<?= "<?= \$class ?>" ?>() {
});
}
function delRow<?= "<?= \$class ?>" ?>(id) {
$('tr[data-key=' + id + ']').remove();
$('#add-<?= "<?= \$relID?>"; ?> tr[data-key=' + id + ']').remove();
}
</script>
</script>

0 comments on commit 1c33de7

Please sign in to comment.