assets/vendors/bower_components/jquery.steps/build/jquery.steps.js
/**
     * Refreshs the visualization state for the entire pagination.
     *
     * @static
     * @private
     * @method refreshPagination
     * @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
     */
Refreshs the visualization state for the entire pagination.
Refreshs the visualization state for the entire pagination .
function refreshPagination(wizard, options, state) {
        if (options.enablePagination) {
            var finish = wizard.find(".actions a[href$='#finish']").parent(),
                next = wizard.find(".actions a[href$='#next']").parent();
            if (!options.forceMoveForward) {
                var previous = wizard.find(".actions a[href$='#previous']").parent();
                previous._enableAria(state.currentIndex > 0);
            }
            if (options.enableFinishButton && options.showFinishButtonAlways) {
                finish._enableAria(state.stepCount > 0);
                next._enableAria(state.stepCount > 1 && state.stepCount > (state.currentIndex + 1));
            } else {
                finish._showAria(options.enableFinishButton && state.stepCount === (state.currentIndex + 1));
                next._showAria(state.stepCount === 0 || state.stepCount > (state.currentIndex + 1)).
                _enableAria(state.stepCount > (state.currentIndex + 1) || !options.enableFinishButton);
            }
        }
    }
function refreshPagination ( wizard , options , state ) { if ( options . enablePagination ) { var finish = wizard . find ( ".actions a[href$='#finish']" ) . parent ( ) , next = wizard . find ( ".actions a[href$='#next']" ) . parent ( ) ; if ( ! options . forceMoveForward ) { var previous = wizard . find ( ".actions a[href$='#previous']" ) . parent ( ) ; previous . _enableAria ( state . currentIndex > 0 ) ; } if ( options . enableFinishButton && options . showFinishButtonAlways ) { finish . _enableAria ( state . stepCount > 0 ) ; next . _enableAria ( state . stepCount > 1 && state . stepCount > ( state . currentIndex + 1 ) ) ; } else { finish . _showAria ( options . enableFinishButton && state . stepCount === ( state . currentIndex + 1 ) ) ; next . _showAria ( state . stepCount === 0 || state . stepCount > ( state . currentIndex + 1 ) ) . _enableAria ( state . stepCount > ( state . currentIndex + 1 ) || ! options . enableFinishButton ) ; } } }
Refreshs the visualization state for the entire pagination.
Refreshs the visualization state for the entire pagination .