You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by rg...@apache.org on 2012/05/22 15:39:46 UTC

svn commit: r1341473 - /incubator/wookie/trunk/widgets/templates/walkthrough/scripts/walkthrough_controller.js

Author: rgardler
Date: Tue May 22 13:39:45 2012
New Revision: 1341473

URL: http://svn.apache.org/viewvc?rev=1341473&view=rev
Log:
fix undefined actions bug in IE (Thanks to Steve Lee, WOOKIE-341)

Modified:
    incubator/wookie/trunk/widgets/templates/walkthrough/scripts/walkthrough_controller.js

Modified: incubator/wookie/trunk/widgets/templates/walkthrough/scripts/walkthrough_controller.js
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/templates/walkthrough/scripts/walkthrough_controller.js?rev=1341473&r1=1341472&r2=1341473&view=diff
==============================================================================
--- incubator/wookie/trunk/widgets/templates/walkthrough/scripts/walkthrough_controller.js (original)
+++ incubator/wookie/trunk/widgets/templates/walkthrough/scripts/walkthrough_controller.js Tue May 22 13:39:45 2012
@@ -113,7 +113,7 @@ var ${widget.shortname}_walkthrough_cont
         button_links.bind('click', function(event) 
         {   
             var href = $(event.target).data('href');
-            var text = event.currentTarget.textContent;
+            var text = $(event.currentTarget).text();
             if (href == '') 
             {
                 var item = "<li>TODO: "+text;