Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Questions related to using nuBuilder Forte.
gerese
Posts: 132 Joined: Sun Dec 16, 2018 6:13 pm
Location: România
Has thanked: 30 times
Been thanked: 4 times
Unread post
by gerese » Fri Nov 26, 2021 8:25 pm
To Mr. Guru Kev1n,
What I found: The procedure defined by me nuRunPHPHidden ("AddCmd", 0); must be added twice to run once, if followed by nuClosePopup ();
Code: Select all
function nuSelectBrowse(e){
var r = $('#' + e.target.id).attr('data-nu-primary-key');
nuSetProperty('ECHIPLUCRARE_ID', r);
nuRunPHPHidden("AddCmd", 0);
nuRunPHPHidden("AddCmd", 0);
nuClosePopup();
}
Animation.gif
11-26-2021_211049_nuBuilder_backup.sql.gzip
You do not have the required permissions to view the files attached to this post.
nuBuilderForte .... BIG Like !!!
kev1n
nuBuilder Team
Posts: 4562 Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 76 times
Been thanked: 528 times
Contact:
Unread post
by kev1n » Sat Nov 27, 2021 8:38 am
Hi,
I am not sure why it behaves this way. Closing the popup via nuJavascriptCallback() in the procedure should fix it.
nuSelectBrowse:
Code: Select all
function nuSelectBrowse(e){
var r = $('#' + e.target.id).attr('data-nu-primary-key');
nuSetProperty('ECHIPLUCRARE_ID', r);
nuRunPHPHidden("AddCmd", 0);
}
AddCmd Procedure:
Code: Select all
nuDebug(nuHash());
nuJavascriptCallback("nuClosePopup();");