tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject git commit: TAP5-2103: jQuery version of text() does not work
Date Tue, 28 May 2013 19:10:54 GMT
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 <hlship@apache.org>
Authored: Tue May 28 12:10:50 2013 -0700
Committer: Howard M. Lewis Ship <hlship@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


Mime
View raw message