Changeset 2460
- Timestamp:
- 05/07/2008 11:27:43 AM
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/HISTORY
r2452 r2460 2 2 ============================ 3 3 BUG: Ticket#836 - TRatingList downgrade (Christophe) 4 BUG: Ticket#849 - TDatePicker selecting current date problem (Christophe) 4 5 5 6 Version 3.1.2 April 21, 2008 trunk/framework/Web/Javascripts/source/prado/datepicker/datepicker.js
r2404 r2460 475 475 476 476 onChange : function() 477 { 477 { 478 478 if(this.options.InputMode == "TextBox") 479 479 { … … 526 526 var old=this.selectedDate; 527 527 this.selectedDate = this.newDate(date); 528 var dateChanged=(old - this.selectedDate != 0) || ( this.options.InputMode == "TextBox" && this.control.value != this.formatDate()); 528 529 529 530 this.updateHeader(); 530 531 this.update(); 531 if ( old - this.selectedDate !=0&& typeof(this.onChange) == "function")532 if (dateChanged && typeof(this.onChange) == "function") 532 533 this.onChange(this, date); 533 534 },
