Page 1 of 1

Procedures not working with Run object iframe

Posted: Mon Apr 03, 2023 1:07 pm
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.

Re: Procedures not working with Run object iframe

Posted: Mon Apr 03, 2023 3:12 pm
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

Re: Procedures not working with Run object iframe

Posted: Mon Apr 03, 2023 6:44 pm
by vario
Yes thanks, that's fixed it. Sorry to say I didn't think to look in the console...

Re: Procedures not working with Run object iframe

Posted: Mon Apr 03, 2023 6:52 pm
by kev1n
It's also fixed on Github.