Changeset 5754

Show
Ignore:
Timestamp:
05/22/08 11:33:21 (6 months ago)
Author:
kinoshita
Message:

4456

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • spinelz/trunk/compress/javascripts/spinelz/spinelz_for_rubricks.js

    r5751 r5754  
    43734373} 
    43744374},setTabActive:function(tab){ 
     4375if(!$(tab)){ 
     4376return; 
     4377} 
    43754378var _2c=$(tab).immediateDescendants(); 
    43764379this.css.refreshClassNames(_2c[0],"tabLeftActive"); 
     
    43784381this.css.refreshClassNames(_2c[2],"tabRightActive"); 
    43794382},setTabInactive:function(tab){ 
     4383if(!$(tab)){ 
     4384return; 
     4385} 
    43804386var _2e=$(tab).immediateDescendants(); 
    43814387this.css.refreshClassNames(_2e[0],"tabLeftInactive"); 
  • spinelz/trunk/compress/javascripts/spinelz/tabBox.js

    r5350 r5754  
    184184} 
    185185},setTabActive:function(tab){ 
     186if(!$(tab)){ 
     187return; 
     188} 
    186189var _2c=$(tab).immediateDescendants(); 
    187190this.css.refreshClassNames(_2c[0],"tabLeftActive"); 
     
    189192this.css.refreshClassNames(_2c[2],"tabRightActive"); 
    190193},setTabInactive:function(tab){ 
     194if(!$(tab)){ 
     195return; 
     196} 
    191197var _2e=$(tab).immediateDescendants(); 
    192198this.css.refreshClassNames(_2e[0],"tabLeftInactive"); 
  • spinelz/trunk/src/javascripts/spinelz/tabBox.js

    r5350 r5754  
    287287   
    288288  setTabActive: function(tab) { 
     289    if (!$(tab)) return; 
    289290    var tabChildren = $(tab).immediateDescendants(); 
    290291    this.css.refreshClassNames(tabChildren[0], 'tabLeftActive'); 
     
    294295   
    295296  setTabInactive: function(tab) { 
     297    if (!$(tab)) return; 
    296298    var tabChildren = $(tab).immediateDescendants(); 
    297299    this.css.refreshClassNames(tabChildren[0], 'tabLeftInactive');