Dotclear

Changeset 1718:5bbbd8bb73fb for admin/js


Ignore:
Timestamp:
09/04/13 14:28:18 (12 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Children:
1719:b8c48f380463, 1720:f23f530dfb4a
Parents:
1717:9df047961e9c (diff), 1710:f6287a0366e3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge 2.5 branch into default

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/js/jquery/jquery.pageTabs.js

    r1280 r1718  
    1616     this.createList(); 
    1717     this.showDiv(index); 
     18     var pageTabs = this; 
     19      
     20     window.onhashchange = function (event) { 
     21          pageTabs.showDiv(document.location.hash.split('#').join('')); 
     22    } 
    1823}; 
    1924 
     
    3944                    li = document.createElement('li'); 
    4045                    a = document.createElement('a'); 
    41                     a.appendChild(document.createTextNode(this.title)); 
     46                    $(a).html(this.title); 
    4247                    this.title = ''; 
    43                     a.href = '#'; 
    4448                    a.fn = This.showDiv; 
    4549                    a.index = this.id || i; 
     50                    a.href = '#'+a.index; 
     51                    li.id = "part-tabs-"+a.index; 
    4652                    a.obj = This; 
    47                     jQuery(a).click(function() { this.fn.call(this.obj,this.index); return false; }); 
    4853                    li.appendChild(a); 
    4954                    This.list.appendChild(li); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map