Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#4301 closed bug (fixed)

Datepicker: option dateFormat getter does not return same value as setter

Reported by: martin-kissel Owned by:
Priority: critical Milestone: 1.7.2
Component: ui.datepicker Version: 1.6rc6
Keywords: Cc:
Blocked by: Blocking:

Description

Setting an option after initialization using for example $(#datepicker).datepicker('option', 'dateFormat' , 'mm/dd/yy'); works fine, but trying to retrieve a value using alert($(#datepicker).datepicker('option', 'dateFormat')); returns [object Object].

Change History (3)

comment:1 Changed 8 years ago by rdworth

  • Component changed from ui.core to ui.datepicker
  • Milestone changed from TBD to 1.8
  • Priority changed from minor to critical
  • Summary changed from Getting options after initialization of UI returns object to Datepicker: option dateFormat getter does not return same value as setter

comment:2 Changed 8 years ago by kbwood

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r2418.

comment:3 Changed 8 years ago by rdworth

  • Milestone changed from 1.8 to 1.7.2
Note: See TracTickets for help on using tickets.