BUGFIX Fixed variable declaration order in tabstrip.js (necessary due to changed jquery.livequery behaviour

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@100848 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-03-11 02:29:22 +00:00 committed by Sam Minnee
parent a61f4ed475
commit b33c37c745

View File

@ -1,13 +1,13 @@
var _CUR_TABS = [];
var _TABS_ON_PAGE = [];
var _TAB_DIVS_ON_PAGE = [];
// jQuery loader
jQuery('ul.tabstrip').livequery(function() {
initTabstrip(this);
if(window.ontabschanged) window.ontabschanged();
});
var _CUR_TABS = [];
var _TABS_ON_PAGE = [];
var _TAB_DIVS_ON_PAGE = [];
function initTabstrip(tabstrip, namedAnchors) {
var i, anchor, container, anchorName, li;