Calendar.prototype.goNextMonth = function()

in saga-web/src/main/resources/static/js/date.js [405:418]


Calendar.prototype.goNextMonth = function (e) {
  if (this.year == this.endYear && this.month == 11) {
    return;
  }
  this.month++;
  if (this.month == 12) {
    this.year++;
    this.month = 0;
  }
  this.date = new Date(this.year, this.month, 1, this.getHour(), this
  .getMinute(), this.getSecond());
  this.changeSelect();
  this.bindData();
}