You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by li...@apache.org on 2008/10/30 10:36:23 UTC

svn commit: r709125 - /incubator/shindig/trunk/features/tabs/tabs.js

Author: lindner
Date: Thu Oct 30 02:36:23 2008
New Revision: 709125

URL: http://svn.apache.org/viewvc?rev=709125&view=rev
Log:
SHINDIG-667 - Fix from David Citron to fix usage of Tabs.

Modified:
    incubator/shindig/trunk/features/tabs/tabs.js

Modified: incubator/shindig/trunk/features/tabs/tabs.js
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/tabs/tabs.js?rev=709125&r1=709124&r2=709125&view=diff
==============================================================================
--- incubator/shindig/trunk/features/tabs/tabs.js (original)
+++ incubator/shindig/trunk/features/tabs/tabs.js Thu Oct 30 02:36:23 2008
@@ -457,11 +457,12 @@
   navTr.appendChild(rightNavTd);
 
   // Register onclick event handlers for smooth scrolling.
+  var me = this;
   leftNav.onclick = function(event) {
-    this.smoothScroll_(wrapper, -120);
+    me.smoothScroll_(wrapper, -120);
   };
   rightNav.onclick = function(event) {
-    this.smoothScroll_(wrapper, 120);
+    me.smoothScroll_(wrapper, 120);
   };
 
   // Swap left and right scrolling if direction is RTL.