You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2013/06/13 00:50:20 UTC

[3/3] git commit: Extract the Ajax request URL from the correct element's href attribute

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 <hl...@apache.org>
Authored: Wed Jun 12 14:00:24 2013 -0700
Committer: Howard M. Lewis Ship <hl...@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