Subj : Re: recursion errors
To : Nightfox
From : Rastus
Date : Mon Dec 30 2013 03:20 pm
> You shouldn't be getting a recursion error if your JavaScript code is only
> two levels deep. I've only ever seen that error in JavaScript when I was
> calling a recursive function that had (probably) called itself hundreds or
> perhaps thousands of times.
With this in mind..(any without any holiday cheer in my glass).. I revisited
The Synchronet JavaScript Object Model Reference and found that I've been
calling the menu scripts incorrectly:
Had been calling the Javascript menus using a command such as this:
bbs.exec("?Space_Menu.js");
But if I found if I call them using 'Load' I'm not seeing errors and the
programs work properly. ie:
load("Space_Menu.js");
I can then use bbs.exec to call any JavaScript door programs ie: