PositiveGuy
PositiveGuy

Reputation: 47743

Dialog width does not work in FireFox

I do not understand why the dialog will not work for width in Firefox (latest version) but will in IE (latest version):

dialogDiv.dialog
(
    {
        resizable: resizable,
        width: width,
        height: height,
        bgiframe: true,
        modal: true,
        autoOpen: false,
        show: 'blind'
    }
)

No, it's not in a table..it's all tableless and I see it working fine in IE for width.

Upvotes: 0

Views: 1029

Answers (2)

Luo Jiong Hui
Luo Jiong Hui

Reputation: 5670

Check 2 places:

  • Must use integer value, not string, for width.
  • Clear cached JavaScript file from Firefox and try it again. To clear, go to Options -- Advanced -- Network -- Cached Web Content -- Clear Now. If you do not want to clear your Firefox cache, rename your JavaScript file.

Upvotes: 0

mcgrailm
mcgrailm

Reputation: 17640

I was able to replicate the problem by puting the width and height in as a string rather and in integer in one of my ui dialogs so I would suggest checking that

Upvotes: 1

Related Questions