Bug Tracker

Changeset 4182

Show
Ignore:
Timestamp:
12/16/07 16:28:39 (1 year ago)
Author:
klaus.hartl
Message:

fixed address bar losing focus when using tabsRotate, fixes #2033

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/ui/current/ui.tabs.js

    r4181 r4182  
    381381                } 
    382382 
    383                 this.blur(); // prevent IE from keeping other link focussed when using the back button 
     383                // Prevent IE from keeping other link focussed when using the back button 
     384                // and remove dotted border from clicked link. This is controlled in modern 
     385                // browsers via CSS, also blur removes focus from address bar in Firefox 
     386                // which can become a usability and annoying problem with tabsRotate. 
     387                if ($.browser.msie) { 
     388                    this.blur();  
     389                } 
    384390 
    385391                //return o.bookmarkable && !!trueClick; // convert trueClick == undefined to Boolean required in IE