Opened 6 years ago

Closed 6 years ago

Last modified 3 years ago

#4826 closed bug (fixed)

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)

4826_dialog_option_resizable_false.patch (580 bytes) - added by caphun 6 years ago.
fixes #4826 - dialog reziable on toggle when resizable option set to false

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by caphun

fixes #4826 - dialog reziable on toggle when resizable option set to false

comment:1 Changed 6 years ago by caphun

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

Fixed in r3235

comment:2 Changed 3 years ago by scottgonzalez

  • Milestone TBD deleted

Milestone TBD deleted

Note: See TracTickets for help on using tickets.