tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jkemn...@apache.org
Subject 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)
Date Tue, 15 Dec 2015 14:40:01 GMT
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 <jochen.kemnade@eddyson.de>
Authored: Tue Dec 15 15:38:57 2015 +0100
Committer: Jochen Kemnade <jochen.kemnade@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", =>


Mime
View raw message