Skip to main content

Search and Top Navigation

#3667 closed bug (fixed)

Opened December 16, 2008 02:38AM UTC

Closed December 21, 2008 06:34PM UTC

Dialog is created with wrong height/width when a string is passed

Reported by: dmuir Owned by:
Priority: minor Milestone: 1.7
Component: ui.dialog Version: 1.6rc2
Keywords: dialog, height, width Cc:
Blocked by: Blocking:
    width : "450",
    height : "300"

Results in a dialog with the size 156x240.

    width : 450,
    height : 300

will result in a dialog with the size 450x300

Adding parseInt() fixes the problem. Either add the type casting internally in dialog(), or document that the values must be integers for it to work, and to type-cast when necessary.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/2008111317 Ubuntu/8.04 (hardy) Firefox/3.0.4

Attachments (0)
Change History (1)

Changed December 21, 2008 06:34PM UTC by scottgonzalez comment:1

milestone: TBD1.6
resolution: → fixed
status: newclosed

This works fine for me using latest SVN. The fix probably occurred when the size method was rewritten for the new framework. Feel free to re-open this ticket if you continue to have problems after 1.6rc3.