public/tutor_register_wizard/vendor/jquery-steps/jquery.steps.js
/**
     * Fires the action next or previous click event.
     *
     * @static
     * @private
     * @method paginationClick
     * @param wizard {Object} The jQuery wizard object
     * @param options {Object} Settings of the current wizard
     * @param state {Object} The state container of the current wizard
     * @param index {Integer} The position (zero-based) to route to
     * @return {Boolean} Indicates whether the event fired successfully or not
     **/
Fires the action next or previous click event.
Fires the action next or previous click event .
function paginationClick(wizard, options, state, index) {
        var oldIndex = state.currentIndex;
        if (index >= 0 && index < state.stepCount && !(options.forceMoveForward && index < state.currentIndex)) {
            var anchor = getStepAnchor(wizard, index),
                parent = anchor.parent(),
                isDisabled = parent.hasClass("disabled");
            parent._enableAria();
            anchor.click();
            if (oldIndex === state.currentIndex && isDisabled) {
                parent._enableAria(false);
                return false;
            }
            return true;
        }
        return false;
    }
function paginationClick ( wizard , options , state , index ) { var oldIndex = state . currentIndex ; if ( index >= 0 && index < state . stepCount && ! ( options . forceMoveForward && index < state . currentIndex ) ) { var anchor = getStepAnchor ( wizard , index ) , parent = anchor . parent ( ) , isDisabled = parent . hasClass ( "disabled" ) ; parent . _enableAria ( ) ; anchor . click ( ) ; if ( oldIndex === state . currentIndex && isDisabled ) { parent . _enableAria ( false ) ; return false ; } return true ; } return false ; }
Fires the action next or previous click event.
Fires the action next or previous click event .
// Enable the step to make the anchor clickable! // An error occured // Disable the step again if current index has not changed; prevents click action.