Opened 11 years ago
Closed 11 years ago
#7917 closed bug (notabug)
bugs with displaying a modal window
Reported by: | J3FF3 | Owned by: | J3FF3 |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.dialog | Version: | 1.8.16 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi. Found 2 bugs, which appear when you call a modal window.
- If the browser window is open not the entire screen, and about half width/height - appears at the bottom of the scroll bar. But if a modal window to close, the scroll bar disappears.
- There are the following code:
$.post('/index.php?r=some/some', function(data) { $('<div title="some"><form id="some_form">' + data + '</form></div>').dialog({ modal: true, resizable: false, buttons: { Yo: function() { $(this).dialog("close"); } } }); });
In the "data" is placed the html code, in which there are also tags <script></script>. As soon as a modal window "sees" these tags <script> in the "data" - then it pops up an empty modal window as in figure
Sorry for my English :)
Change History (3)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Owner: | set to J3FF3 |
---|---|
Status: | new → pending |
Please provide a reduced test case showing the problem.
comment:3 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
The overlay's positioning (absolute, x=0, y=0) is set in the theme css instead of the dialog code. Submitted pull request that fixes this: https://github.com/jquery/jquery-ui/pull/594