ArielOctavio / jquery-dialogextend

Automatically exported from code.google.com/p/jquery-dialogextend
0 stars 0 forks source link

when restoring an iframe changes the size #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. launch a iframe within a Dialog
2. minimize or collapse the dialog
3. on restore, reloads the iframe

What is the expected output? What do you see instead?
not to reload the content, and keep the iframe size

What version of the product are you using? On what operating system?
linux, ver 1_0_1

Please provide any additional information below.
when running the code an lauching a dynamic page (php, jsp) on restore, 
minimize or collapse, reloads the iframe content

Original issue reported on code.google.com by cheo.alf...@gmail.com on 31 Oct 2012 at 2:03

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
i do not reload the page, it reloads itself

Original comment by cheo.alf...@gmail.com on 17 Dec 2012 at 4:59

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
hi, When i am using iFrame with the dialog page like below,

After open the dioalog, i am going to Minimize(-) then click to restore 
options, it will always refreshing. i need no need to refresh, How it's 
possible?.. 

Can you help me please...(spmaniforever@gmail.com)

1)HTML Source
        <div id="dvSearch">
            <iframe id="ifSearch">
            </iframe>
        </div>

2) script
$("#dvSearch").dialog({
        height: 520, width: 900, modal: false, resizable: true, draggable: true,
        close: function() {
            $("#ifSearch").attr("src", "");
            $("#dvNotifyModalPopup").hide();
        }
  }).dialogExtend({
        "close": true,
        "maximize": true,
        "minimize": true,
        "dblclick": "collapse",
        "icons": {
            "close": "ui-icon-closethick",
            "maximize": "ui-icon-extlink",
            "minimize": "ui-icon-minus",
            "restore": "ui-icon-newwin"
        },
        "events": {
            "minimize": function(evt, dlg) {  alert('min'); },
            "maximize": function(evt, dlg) {  alert('max');  },
            "restore": function(evt, dlg) {  alert('res'); },
            "collapse": function(evt, dlg) { alert('coll'); },
            "load": function(evt, dlg) { alert('load'); $("#ifSearch").attr("src", "testpage.aspx"); }
         }
    });

--------------------------------------------------------------------------------
------------------------------------
Thanks in Advance
Mani S.P
spmaniforever@gmail.com

Original comment by spmanifo...@gmail.com on 6 Nov 2013 at 10:07