You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2013/05/28 21:10:54 UTC

git commit: TAP5-2103: jQuery version of text() does not work

Updated Branches:
  refs/heads/master e43f5781b -> 413a2af7a


TAP5-2103: jQuery version of text() does not work


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

Branch: refs/heads/master
Commit: 413a2af7a69af827742f42cac65b161be4c4487a
Parents: e43f578
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Tue May 28 12:10:50 2013 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Tue May 28 12:10:50 2013 -0700

----------------------------------------------------------------------
 .../org/apache/tapestry5/t5-core-dom-jquery.coffee |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/413a2af7/tapestry-core/src/main/coffeescript/org/apache/tapestry5/t5-core-dom-jquery.coffee
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/coffeescript/org/apache/tapestry5/t5-core-dom-jquery.coffee b/tapestry-core/src/main/coffeescript/org/apache/tapestry5/t5-core-dom-jquery.coffee
index 32ec62e..f6ed977 100644
--- a/tapestry-core/src/main/coffeescript/org/apache/tapestry5/t5-core-dom-jquery.coffee
+++ b/tapestry-core/src/main/coffeescript/org/apache/tapestry5/t5-core-dom-jquery.coffee
@@ -364,7 +364,7 @@ define ["_", "./utils", "jquery"], (_, utils, $) ->
       return this
 
     # Returns the text of the element (and its children).
-    text: -> @element.text()
+    text: -> @$.text()
 
   # Wrapper around the `jqXHR` object
   class ResponseWrapper