exit actions not quite working
August 9, 2007 12:00 AM
The actions are still attached.I have taken the step of going into the source code and verifying the presence of the exit function.The exit button on the page is button486, and the associated action is action486. The code for action486 is listed as function action486(fn){ {saveVariable( 'TrivantisEPS', 'T'); if(cleanupTitle('page1')) doQuit(0); else window.close();} if(fn) eval(fn);}[/CODE]This code is the same across all three courses - the difference being in course 1 the "page1" is replaced by the title of the course with underscores replacing the spaces. This seems to be linked to whether the course is published using long filenames or not, which led me to test whether short filenames could be causing the problem - but we have other courses that were published with short filenames where the exit function works.I am perplexed.[CODE]function action486(fn){ {saveVariable( 'TrivantisEPS', 'T'); if(cleanupTitle('page1')) doQuit(0); else window.close();} if(fn) eval(fn);}[/CODE]This code is the same across all three courses - the difference being in course 1 the "page1" is replaced by the title of the course with underscores replacing the spaces. This seems to be linked to whether the course is published using long filenames or not, which led me to test whether short filenames could be causing the problem - but we have other courses that were published with short filenames where the exit function works.I am perplexed.
Discussions have been disabled for this post