From b7e969083fabd6e0ff11305420be6a6864d98607 Mon Sep 17 00:00:00 2001 From: Sam Georges Date: Fri, 26 Sep 2014 19:52:02 +1000 Subject: [PATCH] Only when there is no
parental element --- modules/system/assets/js/framework.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/assets/js/framework.js b/modules/system/assets/js/framework.js index 1829dc49e..a94746d51 100644 --- a/modules/system/assets/js/framework.js +++ b/modules/system/assets/js/framework.js @@ -55,7 +55,7 @@ if (window.jQuery === undefined) data.push($.param(paramToObj('data-request-data', $(this).data('request-data')))) }) - if ($el.is(':input')) { + if ($el.is(':input') && !$el.parents('form').length) { var inputName = $el.attr('name') if (options.data[inputName] === undefined) options.data[inputName] = $el.val()