tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject [3/3] git commit: Extract the Ajax request URL from the correct element's href attribute
Date Wed, 12 Jun 2013 22:50:20 GMT
Extract the Ajax request URL from the correct element's href attribute


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

Branch: refs/heads/master
Commit: 48644151ae1ecd9a989af2dca86ab4b77929b46d
Parents: 7439533
Author: Howard M. Lewis Ship <hlship@apache.org>
Authored: Wed Jun 12 14:00:24 2013 -0700
Committer: Howard M. Lewis Ship <hlship@apache.org>
Committed: Wed Jun 12 14:00:24 2013 -0700

----------------------------------------------------------------------
 .../src/main/coffeescript/META-INF/modules/t5/core/zone.coffee     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/48644151/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/zone.coffee
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/zone.coffee b/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/zone.coffee
index 31f2231..152a212 100644
--- a/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/zone.coffee
+++ b/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/zone.coffee
@@ -59,7 +59,7 @@ define ["./dom", "./events", "./ajax", "./console", "./forms",  "underscore"],
       zone = findZone element
 
       if zone
-        zone.trigger events.zone.refresh,  url: @attribute "href"
+        zone.trigger events.zone.refresh,  url: element.attribute "href"
 
       return false
 


Mime
View raw message