tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject [27/50] git commit: Prevent accidental canceling of click events for FormFragment triggers
Date Sun, 16 Dec 2012 01:17:33 GMT
Prevent accidental canceling of click events for FormFragment triggers


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/77a84410
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/77a84410
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/77a84410

Branch: refs/heads/master
Commit: 77a84410e017cee21da9ad3682e93e49d5e63061
Parents: 85145fb
Author: Howard M. Lewis Ship <hlship@apache.org>
Authored: Wed Dec 5 15:38:28 2012 -0800
Committer: Howard M. Lewis Ship <hlship@apache.org>
Committed: Wed Dec 5 15:38:28 2012 -0800

----------------------------------------------------------------------
 .../META-INF/modules/core/form-fragment.coffee     |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/77a84410/tapestry-core/src/main/coffeescript/META-INF/modules/core/form-fragment.coffee
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/coffeescript/META-INF/modules/core/form-fragment.coffee
b/tapestry-core/src/main/coffeescript/META-INF/modules/core/form-fragment.coffee
index e2dec2f..0053667 100644
--- a/tapestry-core/src/main/coffeescript/META-INF/modules/core/form-fragment.coffee
+++ b/tapestry-core/src/main/coffeescript/META-INF/modules/core/form-fragment.coffee
@@ -70,6 +70,8 @@ define ["_", "core/dom", "core/events"],
 
         (dom spec.fragmentId).trigger events.formfragment.changeVisibility,  visible: makeVisible
 
+        return
+
       if trigger.element.type is "radio"
         dom.on trigger.element.form, "click", update
       else


Mime
View raw message