Browse Source

Adding missing event namespace in form validation

pull/1978/head
Sven Perkmann 9 years ago
parent
commit
97e8bf5fda
1 changed files with 1 additions and 1 deletions
  1. 2
      src/definitions/behaviors/form.js

2
src/definitions/behaviors/form.js

@ -100,7 +100,7 @@ $.fn.form = function(fields, parameters) {
attachEvents: function(selector, action) {
action = action || 'submit';
$(selector)
.on('click', function(event) {
.on('click' + eventNamespace, function(event) {
module[action]();
event.preventDefault();
})

Loading…
Cancel
Save