Skip to main content

Search and Top Navigation

#4484 closed bug (notabug)

Opened April 17, 2009 11:04PM UTC

Closed May 07, 2009 10:27AM UTC

Last modified October 11, 2012 09:15PM UTC

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.

Attachments (0)
Change History (2)

Changed May 07, 2009 10:27AM UTC by jzaefferer comment:1

resolution: → invalid
status: newclosed

Throwing an exception for such invalid values is the correct behaviour.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:2

milestone: TBD

Milestone TBD deleted