Issue 95: Close button not rendered in a modal window
Status:  Fixed
Owner: ----
Closed:  Oct 2008
Project Member Reported by jimbobmc...@googlemail.com, Oct 15, 2008
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 .

Oct 16, 2008
Project Member #1 nyro...@gmail.com
That's the normal way.
Nothing is wrong with that.
Status: Fixed
Labels: -Type-Defect Type-Other
Nov 5, 2008
Project Member #2 jimbobmc...@googlemail.com
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
Project Member #3 nyro...@gmail.com
yes by script by using the $.nyroModalRemove(); function or by adding a link or
button with the class nyroModalClose.
Nov 5, 2008
Project Member #4 jimbobmc...@googlemail.com
>> or by adding a link or button with the class nyroModalClose

To the iframe target or to the parent?