Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

Permalink
Fix jQuery add_basket form selector
Browse files Browse the repository at this point in the history
  • Loading branch information
azlotnikov committed Feb 27, 2017
1 parent 78f9a63 commit c3418a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BasketBundle/Resources/public/modal.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var request = false;

jQuery(document).ready(function() {
jQuery('form#form_add_basket').on('submit', function (e) {
jQuery('form[id^="form_add_basket"]').on('submit', function (e) {
e.preventDefault();

if (false === request) {
Expand Down

0 comments on commit c3418a5

Please sign in to comment.