Skip to content

Commit 1a2e37d

Browse files
authored
Merge pull request #12 from armandeg/master
Fixed Javascript - for the create a gallery
2 parents 62ca25e + d8ad55b commit 1a2e37d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

assets/js/onmotion-bootstrap-modal.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,10 @@ $(document).ready(function () {
7171
return false;
7272
});
7373

74-
var form = $modal.find('form');
74+
7575
$(document).on("submit", '#gallery-modal form', function(e){
7676
e.preventDefault();
77+
var form = $modal.find('form');
7778
$.ajax({
7879
type: 'post',
7980
url: form.attr('action'),

0 commit comments

Comments
 (0)