Changeset 1700:46ec5d1c6f0d for admin
- Timestamp:
- 09/03/13 16:54:05 (11 years ago)
- Branch:
- Ticket #1452
- Children:
- 1701:81665c0f2d15, 1702:15ef8101c7c7
- Location:
- admin/js
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/js/jquery/jquery.pageTabs.js
r1223 r1700 16 16 this.createList(); 17 17 this.showDiv(index); 18 var pageTabs = this; 19 20 window.onhashchange = function (event) { 21 pageTabs.showDiv(document.location.hash.split('#').join('')); 22 } 18 23 }; 19 24 … … 41 46 $(a).html(this.title); 42 47 this.title = ''; 43 a.href = '#';44 48 a.fn = This.showDiv; 45 49 a.index = this.id || i; 50 a.href = '#'+a.index; 46 51 li.id = "part-tabs-"+a.index; 47 52 a.obj = This; 48 jQuery(a).click(function() { this.fn.call(this.obj,this.index); return false; });49 53 li.appendChild(a); 50 54 This.list.appendChild(li);
Note: See TracChangeset
for help on using the changeset viewer.