Search and Top Navigation
#7917 closed bug (notabug)
Opened November 27, 2011 11:28PM UTC
Closed February 22, 2012 08:06AM UTC
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.
1. 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.
[[Image(http://i023.radikal.ru/1111/e1/18715c4ae340.jpg)]]
2. 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 [[Image(http://s017.radikal.ru/i439/1111/b7/90a8c45ddc38.jpg)]]
Sorry for my English :)
Attachments (0)
Change History (3)
Changed February 07, 2012 07:28AM UTC by comment:1
Changed February 07, 2012 05:50PM UTC by comment:2
owner: | → J3FF3 |
---|---|
status: | new → pending |
Please provide a reduced test case showing the problem.
Changed February 22, 2012 08:06AM UTC by comment:3
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