| Issue 95: | Close button not rendered in a modal window | |
| 2 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem?
1. <input
name="btn1"
value="Test Button"
onclick="javascript:jQuery.nyroModalManual({ url: '/blah.htm', type:
'iframe', minWidth: 500}); event.preventDefault; return false;"
id="btn1"
type="submit" />
2. <input
name="btn1"
value="Test Button"
onclick="javascript:jQuery.nyroModalManual({ url: '/blah.htm', type:
'iframe', modal: true, minWidth: 500}); event.preventDefault; return false;"
id="btn1"
type="submit" />
What is the expected output? What do you see instead?
Clicking on the first button shows a non-modal window with a small close
button (top-right). Clicking on the second button shows a modal window
with no close button. I would expect the close button to appear on both.
What version of the product are you using? On what operating system?
v1.2.8, in FF3/IE7 on WinXP Pro, SP3
Please provide any additional information below.
May be related to Issue 3 .
Nov 5, 2008
Does that mean that, if specifying modal:true, you /have/ to close it via script? Otherwise, how could I get the close button that shows when modal:false to show when modal:true?
Nov 5, 2008
yes by script by using the $.nyroModalRemove(); function or by adding a link or button with the class nyroModalClose.
Nov 5, 2008
>> or by adding a link or button with the class nyroModalClose To the iframe target or to the parent? |
Labels: -Type-Defect Type-Other