You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by jk...@apache.org on 2015/12/15 15:40:01 UTC
tapestry-5 git commit: skip the hidden t:formdata field when
searching for the input inside a DateField container (fixes issues when
DateField is contained in a Zone)
Repository: tapestry-5
Updated Branches:
refs/heads/master 8365e4823 -> 587d10d42
skip the hidden t:formdata field when searching for the input inside a DateField container (fixes issues when DateField is contained in a Zone)
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/587d10d4
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/587d10d4
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/587d10d4
Branch: refs/heads/master
Commit: 587d10d422459c0592737df154c63964682208e7
Parents: 8365e48
Author: Jochen Kemnade <jo...@eddyson.de>
Authored: Tue Dec 15 15:38:57 2015 +0100
Committer: Jochen Kemnade <jo...@eddyson.de>
Committed: Tue Dec 15 15:38:57 2015 +0100
----------------------------------------------------------------------
.../main/coffeescript/META-INF/modules/t5/core/datefield.coffee | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/587d10d4/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/datefield.coffee
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/datefield.coffee b/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/datefield.coffee
index 02ed397..50cc947 100644
--- a/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/datefield.coffee
+++ b/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/datefield.coffee
@@ -60,7 +60,7 @@ define ["./dom", "./events", "./messages", "./ajax", "underscore", "./datepicker
class Controller
constructor: (@container) ->
- @field = @container.findFirst "input"
+ @field = @container.findFirst 'input:not([name="t:formdata"])'
@trigger = @container.findFirst "button"
@trigger.on "click", =>