assets/vendors/bower_components/jquery.steps/build/jquery.steps.js
/**
     * Refreshs the visualization state for the step navigation (tabs).
     *
     * @static
     * @private
     * @method refreshStepNavigation
     * @param wizard {Object} A jQuery wizard object
     * @param options {Object} Settings of the current wizard
     * @param state {Object} The state container of the current wizard
     * @param [oldIndex] {Integer} The index of the prior step
     */
Refreshs the visualization state for the step navigation (tabs).
Refreshs the visualization state for the step navigation ( tabs ) .
function refreshStepNavigation(wizard, options, state, oldIndex) {
        var currentOrNewStepAnchor = getStepAnchor(wizard, state.currentIndex),
            currentInfo = $("<span class=\"current-info audible\">" + options.labels.current + " </span>"),
            stepTitles = wizard.find(".content > .title");
        if (oldIndex != null) {
            var oldStepAnchor = getStepAnchor(wizard, oldIndex);
            oldStepAnchor.parent().addClass("done").removeClass("error")._selectAria(false);
            stepTitles.eq(oldIndex).removeClass("current").next(".body").removeClass("current");
            currentInfo = oldStepAnchor.find(".current-info");
            currentOrNewStepAnchor.focus();
        }
        currentOrNewStepAnchor.prepend(currentInfo).parent()._selectAria().removeClass("done")._enableAria();
        stepTitles.eq(state.currentIndex).addClass("current").next(".body").addClass("current");
    }
function refreshStepNavigation ( wizard , options , state , oldIndex ) { var currentOrNewStepAnchor = getStepAnchor ( wizard , state . currentIndex ) , currentInfo = $ ( "<span class=\"current-info audible\">" + options . labels . current + " </span>" ) , stepTitles = wizard . find ( ".content > .title" ) ; if ( oldIndex != null ) { var oldStepAnchor = getStepAnchor ( wizard , oldIndex ) ; oldStepAnchor . parent ( ) . addClass ( "done" ) . removeClass ( "error" ) . _selectAria ( false ) ; stepTitles . eq ( oldIndex ) . removeClass ( "current" ) . next ( ".body" ) . removeClass ( "current" ) ; currentInfo = oldStepAnchor . find ( ".current-info" ) ; currentOrNewStepAnchor . focus ( ) ; } currentOrNewStepAnchor . prepend ( currentInfo ) . parent ( ) . _selectAria ( ) . removeClass ( "done" ) . _enableAria ( ) ; stepTitles . eq ( state . currentIndex ) . addClass ( "current" ) . next ( ".body" ) . addClass ( "current" ) ; }
Refreshs the visualization state for the step navigation (tabs).
Refreshs the visualization state for the step navigation ( tabs ) .