You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2012/08/18 00:05:45 UTC
[2/2] git commit: Fix minor problems with core/forms and tapestry.js
concerning tracking the submitting element
Fix minor problems with core/forms and tapestry.js concerning tracking the submitting element
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/0b8eb08e
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/0b8eb08e
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/0b8eb08e
Branch: refs/heads/5.4-js-rewrite
Commit: 0b8eb08e335d0e4a020842717e05f01af342a044
Parents: a7af05b
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Fri Aug 17 15:04:29 2012 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Fri Aug 17 15:04:29 2012 -0700
----------------------------------------------------------------------
.../META-INF/modules/core/forms.coffee | 2 +-
.../resources/org/apache/tapestry5/tapestry.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/0b8eb08e/tapestry-core/src/main/coffeescript/META-INF/modules/core/forms.coffee
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/coffeescript/META-INF/modules/core/forms.coffee b/tapestry-core/src/main/coffeescript/META-INF/modules/core/forms.coffee
index 452a4b0..5996dfd 100644
--- a/tapestry-core/src/main/coffeescript/META-INF/modules/core/forms.coffee
+++ b/tapestry-core/src/main/coffeescript/META-INF/modules/core/forms.coffee
@@ -97,4 +97,4 @@ define ["core/events", "core/spi", "core/builder", "core/compat/tapestry"],
setSubmittingHidden form, element
skipValidation: (formWrapper) ->
- form.wrapper setAttribute SKIP_VALIDATION, true
\ No newline at end of file
+ formWrapper.setAttribute SKIP_VALIDATION, true
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/0b8eb08e/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js b/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js
index 1763351..27211eb 100644
--- a/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js
+++ b/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.js
@@ -541,7 +541,7 @@ define("core/compat/tapestry", [
* (a Submit or LinkSubmit)
*/
setSubmittingElement: function (form, element) {
- forms.setSubmittingControl(spi.wrap(form), spi.wrap(element));
+ forms.setSubmittingElement(spi.wrap(form), spi.wrap(element));
},
/**