| Issue 97: | documentation issue: How to pass values from modal window to parent page | |
| 2 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. http://nyromodal.nyrodev.com/#usage 2. 3. I was looking here for posibility how to pass back values from modal window into parent page element but seems that documentation doesn't reflect a such kind of information. Is it so or I've missed something ?
Oct 22, 2008
Project Member
#1
nyro...@gmail.com
Labels:
-Type-Defect Type-Other
Oct 23, 2008
There are few callback function such as hideContent, hideBackground, or endRemove that you can use to get values form modal window when it's going to be closed.
Oct 26, 2008
Sure ... in the main page i have a rich text editor and in this modal window a web file manager. The intented scenario is to pass selected file id from modal to editor for future processing.
Oct 27, 2008
mmm, regarding what you said, I would do something like:
$.nyroModalSettings({
endFillContent: function(elts, settings) {
$('.FileChoose').click(function(e) { // action for selecting the file
e.preventDefault();
// Do what you need to update your text editor
$.nyroModalRemove();
});
}
});
Hope it will help.
Jan 26, 2009
(No comment was entered for this change.)
Status:
Fixed
|