#4484 closed bug (notabug)
dialog: setting certain options with certain values causes exceptions to be thrown
Reported by: | ThrushAAX | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.dialog | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Discovered after tweaking the unit tests to allow exceptions through.
.dialog('option','closeText',['array']) .dialog('option','closeText',{obj:'ect'}) .dialog('option','postion',null) .dialog('option','postion',[]) .dialog('option','postion',['array']) .dialog('option','title',['array'])
Not sure how valuable it is to fix any of these as closeText and position are planned on being changed (i18n and positionTo) and who in their right mind would send anything besides text to title.
Note: See
TracTickets for help on using
tickets.
Throwing an exception for such invalid values is the correct behaviour.