Ticket #5531: jquery.dialog-minWidth_fix.patch

File jquery.dialog-minWidth_fix.patch, 399 bytes (added by zhaoz, 12 years ago)

patch for minWidth issue

  • ui/jquery.ui.dialog.js

    diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js
    index 6e538b6..dc8b1dc 100644
    a b $.widget("ui.dialog", { 
    4949        },
    5050        _create: function() {
    5151                this.originalTitle = this.element.attr('title');
     52                this.options.width = Math.max(this.options.width, this.options.minWidth);
    5253
    5354                var self = this,
    5455                        options = self.options,