rem: if (! dayLabel.hasState(DateChooser.STATE_OTHER_MONTH)) { 
add: if (dayLabel.hasState(DateChooser.STATE_OTHER_MONTH)) { if (dayLabel.hasState(DateChooser.STATE_SELECTED)) { dayLabel.removeState(DateChooser.STATE_SELECTED); } } else { 
context: qx.Proto._modifyDate = function(propValue, propOldValue, propData) {  var DateChooser = qx.ui.component.DateChooser;  if ((propValue != null) && (this.getShownMonth() != propValue.getMonth()    || this.getShownYear() != propValue.getFullYear()))  {    // The new date is in another month -> Show that month    this.showMonth(propValue.getMonth(), propValue.getFullYear());  } else {    // The new date is in the current month -> Just change the states    var newDay = (propValue == null) ? -1 : propValue.getDate();    for (var i = 0; i < 6 * 7; i++) {      var dayLabel = this._dayLabelArr[i];      if (! dayLabel.hasState(DateChooser.STATE_OTHER_MONTH)) {        var day = parseInt(dayLabel.getHtml());        if (day == newDay) {          dayLabel.addState(DateChooser.STATE_SELECTED);        } else if (dayLabel.hasState(DateChooser.STATE_SELECTED)) {          dayLabel.removeState(DateChooser.STATE_SELECTED);        }      }    }  }  return true;}
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/6104fba582a906fc32f470c8799248be9307325e/DateChooser.js/buggy/qooxdoo/frontend/framework/source/class/qx/ui/component/DateChooser.js