Merge branch 'RuleDomain-fix-receiving-issue'

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
This commit is contained in:
FrancescoUK
2017-08-12 19:23:14 +01:00

View File

@@ -518,8 +518,7 @@ $(document).ready(function()
}
$('[name="price"],[name="quantity"],[name="discount"],[name="description"],[name="serialnumber"]').change(function() {
var index = $(this).parents("tr").index() - 1;
$("#cart_" + index).submit();
$(this).parents("tr").prevAll("form:first").submit()
});
});