You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by zh...@apache.org on 2011/03/02 02:51:15 UTC

svn commit: r1076083 - /shindig/trunk/features/src/main/javascript/features/tabs/tabs.js

Author: zhoresh
Date: Wed Mar  2 01:51:15 2011
New Revision: 1076083

URL: http://svn.apache.org/viewvc?rev=1076083&view=rev
Log:
Fix tab change to work on IE | http://codereview.appspot.com/4258044/

Modified:
    shindig/trunk/features/src/main/javascript/features/tabs/tabs.js

Modified: shindig/trunk/features/src/main/javascript/features/tabs/tabs.js
URL: http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/tabs/tabs.js?rev=1076083&r1=1076082&r2=1076083&view=diff
==============================================================================
--- shindig/trunk/features/src/main/javascript/features/tabs/tabs.js (original)
+++ shindig/trunk/features/src/main/javascript/features/tabs/tabs.js Wed Mar  2 01:51:15 2011
@@ -429,6 +429,7 @@ gadgets.TabSet.prototype.createTabTable_
   leftNav.onclick = function(event) {
     me.smoothScroll_(wrapper, -120);
 
+    event = event || window.event;
     if (event.stopPropagation) {
       event.stopPropagation();
     } else {
@@ -443,6 +444,7 @@ gadgets.TabSet.prototype.createTabTable_
   rightNav.onclick = function(event) {
     me.smoothScroll_(wrapper, 120);
 
+    event = event || window.event;
     if (event.stopPropagation) {
       event.stopPropagation();
     } else {