public/sistema/src/plugins/jquery-steps/jquery.steps.js
/**
     * Refreshes step buttons and their related titles beyond a certain position.
     *
     * @static
     * @private
     * @method refreshSteps
     * @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 index {Integer} The start point for refreshing ids
     */
Refreshes step buttons and their related titles beyond a certain position.
Refreshes step buttons and their related titles beyond a certain position .
function refreshSteps(wizard, options, state, index) {
        var uniqueId = getUniqueId(wizard);
        for (var i = index; i < state.stepCount; i++) {
            var uniqueStepId = uniqueId + _tabSuffix + i,
                uniqueBodyId = uniqueId + _tabpanelSuffix + i,
                uniqueHeaderId = uniqueId + _titleSuffix + i,
                title = wizard.find(".title").eq(i)._id(uniqueHeaderId);
            wizard.find(".steps a").eq(i)._id(uniqueStepId)
                ._aria("controls", uniqueBodyId).attr("href", "#" + uniqueHeaderId)
                .html(renderTemplate(options.titleTemplate, {
                    index: i + 1,
                    title: title.html()
                }));
            wizard.find(".body").eq(i)._id(uniqueBodyId)
                ._aria("labelledby", uniqueHeaderId);
        }
    }
function refreshSteps ( wizard , options , state , index ) { var uniqueId = getUniqueId ( wizard ) ; for ( var i = index ; i < state . stepCount ; i ++ ) { var uniqueStepId = uniqueId + _tabSuffix + i , uniqueBodyId = uniqueId + _tabpanelSuffix + i , uniqueHeaderId = uniqueId + _titleSuffix + i , title = wizard . find ( ".title" ) . eq ( i ) . _id ( uniqueHeaderId ) ; wizard . find ( ".steps a" ) . eq ( i ) . _id ( uniqueStepId ) . _aria ( "controls" , uniqueBodyId ) . attr ( "href" , "#" + uniqueHeaderId ) . html ( renderTemplate ( options . titleTemplate , { index : i + 1 , title : title . html ( ) } ) ) ; wizard . find ( ".body" ) . eq ( i ) . _id ( uniqueBodyId ) . _aria ( "labelledby" , uniqueHeaderId ) ; } }
Refreshes step buttons and their related titles beyond a certain position.
Refreshes step buttons and their related titles beyond a certain position .