| Issue 108: | The modal windndow doesn't get closed | |
| 2 people starred this issue and may be notified of changes. | Back to list |
|
What steps will reproduce the problem?
1. The current situation emulates the case of passing values from modal
window into parent. After finishing work with modal i try to close it but
it's not get closed. The event hideContent is fired and value is passed.
Have i missed something or it's really broken?
here is the example:
$(function() {
$('#manual').click(function(e) {
e.preventDefault();
$.nyroModalManual({
url: 'popup.html',
hideContent: function(elts, settings, callback) {
var val = elts.full.find('#modalInput');
$('#result').val(val.val());
//$('#nyroModalFull').remove(); // if try to do this then the
second chance to open modal fails
//$.nyroModalRemove(); // doesn't close the modal
}
});
return false;
});
and html form
<a id="manual" href="#">Manual Call</a>
<input type="text" id="result" value="" />
Usings:
jQuery jquery-1.2.6.js
nyroModal jquery.nyroModal-1.3.0.js
Nov 2, 2008
#1
Mamali.S...@gmail.com
Nov 3, 2008
Great, now it works. I would like to know where I can find more about this because in documentation it is not reflected. Is it felf explanatory of I've missed something ? thx
Jan 27, 2009
http://nyromodal.nyrodev.com/#animationCallbacks It's write that you have to call callback();
Status:
Fixed
|
||||||||