Index: openacs-4/packages/lorsm/www/delivery/applet.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/lorsm/www/delivery/applet.js,v diff -u -r1.3 -r1.4 --- openacs-4/packages/lorsm/www/delivery/applet.js 7 Oct 2007 22:45:53 -0000 1.3 +++ openacs-4/packages/lorsm/www/delivery/applet.js 17 Oct 2008 10:46:31 -0000 1.4 @@ -15,7 +15,7 @@ function debug(message) { if (debuglevel ==1) { if (menu_off < 1 ) { - parent.frames['talk'].document.write(""+message+"
"); + parent.frames['talk'].document.write(message+"
"); } } return; @@ -101,15 +101,15 @@ isalive=APIFinder.KeepAlive(); if(!(isalive=='true')) { if (menu_off < 1 ) { - message="Server failure: Error in communication to server:
"+APIFinder.LastServerError; + message="Server failure: Error in communication to server:
"+APIFinder.LastServerError; parent.frames['menu'].writit(message,'usermessage'); } else { debug("server error in keepalive"); } APIFinder.LastServerError=""; } else { if (menu_off < 1 ) { - message="Server online"; + message="Server online"; parent.frames['menu'].writit(message,'usermessage'); } else { debug("server OK in keepalive"); @@ -284,7 +284,7 @@ parent.frames['menu'].window.location.href = menu_url; //obviously no menu if menu is off... } else { - messaging("Please wait. Loading contents.
Attendere prego. Caricamento contenuti.
"); + messaging("Please wait. Loading contents.
"); parent.frames['content'].location.href = record_view_url; } if (findgetAppletInfo> 7) { @@ -327,7 +327,7 @@ APIFinder.LastServerError=""; } else { if (menu_off < 1 ) { - message="LMSInitialize: Error in communication to server:
"+APIFinder.LastServerError+""; + message="LMSInitialize: Error in communication to server:
"+APIFinder.LastServerError; parent.frames['menu'].writit(message,'usermessage'); } else { debug("server error in LMSInitialize"); @@ -360,7 +360,7 @@ } finishing=true; if (menu_off < 1 ) { - parent.frames['menu'].writit('Sending tracking to server....','usermessage'); + parent.frames['menu'].writit('Sending tracking to server....','usermessage'); } debug("APPLET.JS sco called LMSFinish("+placeholder+")"); debug("calling LMSfinish =(\'\')"); @@ -383,7 +383,7 @@ parent.frames['menu'].writit('','abort'); parent.frames['menu'].writit('','btn_finish'); parent.frames['menu'].toggleBox('menudiv',1); - parent.frames['menu'].writit('Tracking is OK','usermessage'); + parent.frames['menu'].writit('Tracking is OK','usermessage'); } catch (err) { debug ("cannot restore menu... what's up ?") } @@ -395,7 +395,7 @@ //better be conservative. don't give'em menu back //parent.frames['menu'].writit('','abort'); //parent.frames['menu'].toggleBox('menudiv',1); - message="LMSFinish: Error in communication to server:
"+APIFinder.LastServerError+""; + message="LMSFinish: Error in communication to server:
"+APIFinder.LastServerError; parent.frames['menu'].writit(message,'usermessage'); } else { debug("ERROR during LMSFinish CALL !!!"); @@ -430,14 +430,14 @@ committed=committed+''; if(!(committed=='true')) { if (menu_off < 1 ) { - message="Commit: Error in communication to server:
"+APIFinder.LastServerError+""; + message="Commit: Error in communication to server:
"+APIFinder.LastServerError; parent.frames['menu'].writit(message,'usermessage'); } else { debug("ERROR during LMSCommit CALL !!!"); } } else { if (menu_off < 1 ) { - parent.frames['menu'].writit('Committed OK','usermessage'); + parent.frames['menu'].writit('Committed OK','usermessage'); } APIFinder.LastServerError=""; }