You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2012/10/09 16:52:22 UTC
git commit: WICKET-4771 Submitting value filled in DropDownChoice
fails when tinymce textarea is on the page
Updated Branches:
refs/heads/master fbb9a2d0f -> 2fc7641b1
WICKET-4771 Submitting value filled in DropDownChoice fails when tinymce textarea is on the page
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/2fc7641b
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/2fc7641b
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/2fc7641b
Branch: refs/heads/master
Commit: 2fc7641b1646b3e8fb4b41205d6b8b3fa353f500
Parents: fbb9a2d
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Tue Oct 9 17:51:58 2012 +0300
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Tue Oct 9 17:51:58 2012 +0300
----------------------------------------------------------------------
.../wicket/ajax/res/js/wicket-ajax-jquery.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/2fc7641b/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js b/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js
index 9c25205..dbbf96e 100644
--- a/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js
+++ b/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js
@@ -1249,7 +1249,7 @@
if (select) {
var $select = jQuery(select);
if ($select.length > 0 && $select.prop('disabled') === false) {
- var name = $select.attr('name');
+ var name = $select.prop('name');
var values = $select.val();
if (jQuery.isArray(values)) {
for (var v = 0; v < values.length; v++) {