Welcome to the nuBuilder Forums!

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

Procedures not working with Run object iframe Topic is solved

Questions related to customising nuBuilder Forte with JavaScript or PHP.
Post Reply
vario
Posts: 148
Joined: Mon Dec 05, 2011 12:23 pm
Location: Newton Abbot, UK
Has thanked: 1 time
Been thanked: 1 time

Procedures not working with Run object iframe

Unread post by vario »

I have a problem with the latest release (4.5.7.5). I have a number of procedures which I run with a "Run" object using the iFrame method - mainly to embed Leaflet maps or Google charts into the form. No error messages are present in the httpd log files, and it seems the procedure is not invoked as a nuDebug statement produces no entries in zzzzsys_debug.
I have adapted one of these procedures to run from nuBlank and it works OK, but not from the Run object. If I change the "Run" object method to "Button"/"Popup" then it also works.

I am a bit stumped as to what to try next due to the lack of useful error messages - can you help?

Neil.
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Procedures not working with Run object iframe

Unread post by kev1n »

Hi,

When I tested it I saw an error in the developer console.
Can you try the attached patch? Unpack the .zip file and copy nuajax.js into the /core directory and log in again into nuBuilder.

[Attachment removed]

Edit: nuajax.js fixed
vario
Posts: 148
Joined: Mon Dec 05, 2011 12:23 pm
Location: Newton Abbot, UK
Has thanked: 1 time
Been thanked: 1 time

Re: Procedures not working with Run object iframe

Unread post by vario »

Yes thanks, that's fixed it. Sorry to say I didn't think to look in the console...
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Procedures not working with Run object iframe

Unread post by kev1n »

It's also fixed on Github.
Post Reply