Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Closing a Popup Frame

Questions related to using nuBuilder Forte.
Post Reply
alf1976
Posts: 75
Joined: Tue Dec 26, 2017 8:58 pm

Closing a Popup Frame

Unread post 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
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Closing a Popup Frame

Unread post by admin »

Andrew,

Good question.

I have just added a new function called nuClosePopup() to github.

http://wiki.nubuilder.net/nubuilderfort ... ClosePopup

Steven
alf1976
Posts: 75
Joined: Tue Dec 26, 2017 8:58 pm

Re: Closing a Popup Frame

Unread post 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
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Closing a Popup Frame

Unread post 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
alf1976
Posts: 75
Joined: Tue Dec 26, 2017 8:58 pm

Re: Closing a Popup Frame

Unread post by alf1976 »

Hi Steven,

It now works.

Thank you for assistance.

Andrew
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Closing a Popup Frame

Unread post by admin »

.
Post Reply