Search and Top Navigation
#7682 closed enhancement (duplicate)
Opened August 31, 2011 07:37AM UTC
Closed August 31, 2011 09:12AM UTC
Last modified August 31, 2011 11:40AM UTC
i can't resize the dialog when there is an iframe inside the dialog
Reported by: | lining041038 | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.dialog | Version: | 1.8.15 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
i can't resize the dialog when there is an iframe inside the dialog and when my cursor is in the iframe, i think it is not a bug ,but i usually use iframe inside when i want to link a website outside or my other pages.
Attachments (0)
Change History (3)
Changed August 31, 2011 09:12AM UTC by comment:1
resolution: | → duplicate |
---|---|
status: | new → closed |
Changed August 31, 2011 11:40AM UTC by comment:3
@lining041038
Here is a workaround:
$("#modalDiv") .dialog({ modal : true, autoOpen : false, height : 400, width : 400, draggable: true, resizable: true, title : 'Loading...' }) .bind('dialogdragstart dialogresizestart', function() { var overlay = $(this).find('.hidden-dialog-overlay'); if (!overlay.length) { overlay = $('<div class="hidden-dialog-overlay" style="position:absolute;top:0;left:0;right:0;bottom:0;z-order:100000;"></div>'); overlay.appendTo(this); } else overlay.show(); }) .bind('dialogdragstop dialogresizestop', function() { $(this).find('.hidden-dialog-overlay').hide(); });