dist/jquery.schedule.js
function (period) {
      if (!this.settings.onDuplicatePeriod.call(this, period, this.element)) {
        var options = this.periodData(period);
        var position = Math.round(period.position().top / this.periodPosition);
        var height = Math.round(period.height() / this.periodPosition);

        var $this = this;
        $('.jqs-day', this.element).each(function (index, parent) {
          $this.add(parent, position, height, options);
        });

        this.closeOptions();
      }
    }
function (period) {
      if (!this.settings.onDuplicatePeriod.call(this, period, this.element)) {
        var options = this.periodData(period);
        var position = Math.round(period.position().top / this.periodPosition);
        var height = Math.round(period.height() / this.periodPosition);

        var $this = this;
        $('.jqs-day', this.element).each(function (index, parent) {
          $this.add(parent, position, height, options);
        });

        this.closeOptions();
      }
    }
function ( period ) { if ( ! this . settings . onDuplicatePeriod . call ( this , period , this . element ) ) { var options = this . periodData ( period ) ; var position = Math . round ( period . position ( ) . top / this . periodPosition ) ; var height = Math . round ( period . height ( ) / this . periodPosition ) ; var $this = this ; $ ( '.jqs-day' , this . element ) . each ( function ( index , parent ) { $this . add ( parent , position , height , options ) ; } ) ; this . closeOptions ( ) ; } }
Duplicate a period
@param period
Duplicate a period