Welcome to the nuBuilder Forums!

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

Close Edit after Save in IFRAME

Questions related to using nuBuilder Forte.
Post Reply
potap
Posts: 28
Joined: Wed Nov 23, 2022 1:07 pm
Has thanked: 6 times
Been thanked: 1 time

Close Edit after Save in IFRAME

Unread post by potap »

I set nuCloseEditAfterSave setting to "User Forms". t works perfectly on the regular forms, but the form in IFRAME doesn't go back to browse breadcrumb after saving.

I even tried to put in AfterSave php code:
nuAddJavascript("nuOpenPreviousBreadcrumb();");

Still no result. Can you please suggest the solution?
potap
Posts: 28
Joined: Wed Nov 23, 2022 1:07 pm
Has thanked: 6 times
Been thanked: 1 time

Re: Close Edit after Save in IFRAME

Unread post by potap »

Solved it by adding to the Brows&Edit Custom Code section of the IFRAME form the following text:

Code: Select all

function nuAfterSave() {
	nuGetBreadcrumb(0);
	}
Post Reply