Skip to main content

Search and Top Navigation

#4826 closed bug (fixed)

Opened September 02, 2009 11:20AM UTC

Closed September 15, 2009 04:57PM UTC

Last modified October 11, 2012 09:15PM UTC

Setting resizable false toggles resizable on dialog

Reported by: Mikko Rantanen Owned by:
Priority: minor Milestone:
Component: ui.dialog Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:
Description

e.dialog('option', 'resizable', false); does not disable the resizing but toggles it instead.

The call is delegated from _setData to _makeResizable which expects the argument as a string that describes the resize handles. Since 'false' is not a string it will be replaced with the default string 'n,e,s,w,se,sw,ne,nw'. Probably the delegated call should be made only when _setData value evaluates to true.

This can be worked around by first checking e.dialog('option', 'resizable') and calling it with false only if the return value is true.

Attachments (1)
Change History (2)

Changed September 15, 2009 04:57PM UTC by caphun comment:1

resolution: → fixed
status: newclosed

Fixed in r3235

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

milestone: TBD

Milestone TBD deleted