From 97e8bf5fdaf703b41c16175bb2771d1d5c9f9719 Mon Sep 17 00:00:00 2001 From: Sven Perkmann Date: Wed, 18 Mar 2015 15:33:43 +0100 Subject: [PATCH] Adding missing event namespace in form validation --- src/definitions/behaviors/form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/definitions/behaviors/form.js b/src/definitions/behaviors/form.js index 81806e535..2f4615a32 100644 --- a/src/definitions/behaviors/form.js +++ b/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(); })