Page 1 of 1
Closing a Popup Frame
Posted: Sat Jan 27, 2018 8:01 pm
by alf1976
How do i close a window that has opened by the nuPopup function. There doesn't seem to be nuRemoveModal function in version 4.
So..
My popup form has an input object set to the 'Button' type with onclick event.
When the user clicks on this i copy the calculated result back to the parent form and then want to close the popup.
Andrew
Re: Closing a Popup Frame
Posted: Sat Jan 27, 2018 8:20 pm
by admin
Andrew,
Good question.
I have just added a new function called nuClosePopup() to github.
http://wiki.nubuilder.net/nubuilderfort ... ClosePopup
Steven
Re: Closing a Popup Frame
Posted: Sat Jan 27, 2018 9:33 pm
by alf1976
Hi Steven,
Downloaded from from Github, added nuClosePopup() function but the pop up stays where it is.
Do i need any additional code after calling the function?
Andrew
Re: Closing a Popup Frame
Posted: Sat Jan 27, 2018 9:47 pm
by admin
Andew,
A have hopefully fixed that now.
So you can grab it off Github.
It's a good thing people like you can test these things for me.
Let me know if it works now.
Steven
Re: Closing a Popup Frame
Posted: Sat Jan 27, 2018 10:42 pm
by alf1976
Hi Steven,
It now works.
Thank you for assistance.
Andrew
Re: Closing a Popup Frame
Posted: Sun Jan 28, 2018 12:27 am
by admin
.