Lotus Notes Javascript Error
the body of an e-mail Technote (troubleshooting) Problem(Abstract) When viewing HTML reports in the body of an e-mail with the Lotus Notes 8.x e-mail client you see a Javascript error pop-up dialog and Javascript appears in the body of the e-mail. Symptom When viewing HTML reports in the body of an e-mail with the Lotus Notes 8.x e-mail client you see a Javascript error pop-up dialog and Javascript like the following appears in the body of the e-mail above the report output. var gCognosViewerId = "_THIS_"; var sLocation = document.location.search; if (sLocation.match(/cv\.id=([^&?]*)/)) { gCognosViewerId = RegExp.$1; } function getCognosViewer() { var cognosViewer = null; try { cognosViewer = eval("parent.oCV" + gCognosViewerId); } catch(e) { cognosViewer = null; } return cognosViewer; } function onClickEvent(evt) { var cognosViewer = getCognosViewer(); if(cognosViewer != null) { cognosViewer.rvMainWnd.pageClicked(evt); } }; < The report does display correctly with no Javascript errors when received in Outlook and other e-mail clients Cause The embedded Lotus Notes browser does not display MIME e-mail formats correctly Resolving the problem In Lotus Notes, disable Javascript error dialogs and Disable embedded browser for MIME mail. Steps: In the Lotus Notes client go to File > Preferences > Basic Notes Client Configuration > Additional Options and select (check) "Disable embedded browser for MIME e-mail" and deselect (uncheck) "Enable JavaScript error dialogs" Cross reference information Segment Product Component Platform Version Edition Business Analytics Cognos Business Intelligence -- AIX, HP-UX, HP Itanium, Linux, Solaris, Windows 8.3, 8.4, 8.4.1 Document information More support for: Cognos 8 Business Intelligence Software version: 8.3, 8.4, 8.4.1 Operating system(s): AIX, HP-UX, Linux, Solaris, Windows Reference #: 1428782 Modified date: 12 September 2014 Site availability Site assistance Contact and feedback Need support? Submit feedback to IBM Support 1-800-IBM-7378 (USA) Directory of worldwide contacts Contact Privacy Terms of use Accessibility
that make connections all over the world. Join today Download & Extend Drupal Core Distributions Modules Themes Printer, email and PDF versionsIssues [email] Lotus Notes Javascript Error Closed (fixed)Project:Printer, email and PDF versionsVersion:5.x-4.6Component:CodePriority:NormalCategory:Bug reportAssigned:UnassignedReporter:ryan.naumanCreated:May 4, 2009 - 17:15Updated:May 4, 2009 - 19:00 Log in or register to update this issue Within Lotus Notes, when an email is opened I receive the error: "A JavaScript Error was encountered while loading a page. Error on line 11: ReferenceError: Drupal is not defined" I have disabled http://www-01.ibm.com/support/docview.wss?uid=swg21428782 sending the logo within the email, other than that all settings are default. I don't see why javascript is being sent with the email. Lotus notes is notorious for terribly rendering items so I have no problem editing a particular file if the javascript is necessary but a nuisance in my niche email client market. Help appreciated Comments Comment https://www.drupal.org/node/453350 #1 jcnventura CreditAttribution: jcnventura commented May 4, 2009 at 6:13pm Status: Active » Postponed (maintainer needs more info) Hi, Javascript is being sent with the e-mail because the original page includes it and the sent e-mail includes the full content of the original page (including the scripts). If you don't want scripts in any output version of the module, simply delete the scripts line in print.tpl.php. If you just want to disable javascript in the email, copy the print.tpl.php to print_mail.tpl.php and delete the same line in the new file.. João Log in or register to post comments Comment #2 ryan.nauman CreditAttribution: ryan.nauman commented May 4, 2009 at 7:00pm Status: Postponed (maintainer needs more info) » Closed (fixed) Ah didn't see print.tpl.php there, removed that line and it works great. Thanks Log in or register to post comments Add child issue, clone issue News itemsDrupal news Planet Drupal Association news Social media directory Security announcements Jobs Our communityCommunity Getting involved Services, Training & Hosting Groups & Meetups DrupalCon Code of conduct DocumentationDocumentation Drupal 8 docs
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search https://www.experts-exchange.com/questions/21469171/a-java-script-error-was-encountered-while-loading-a-page.html Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > a java script error was encountered while loading a page Want to Advertise Here? Solved a java script error was encountered while loading a page Posted on 2005-06-23 Miscellaneous 2 Verified Solutions 10 Comments 2,163 Views Last Modified: 2008-01-09 I use Lotus Notes as an email client on a Windows lotus notes XP Pro SP2 machine from Dell. I receive CNN Am News and when I use IE6 to open the newsletter, I get a dialog box with this message: a java script error was encountered while loading a page. It then lsits the error line number and asks if iI wish to continue loading the page. I click yes and everything proceeds normally. This behavior is exremely irritating. BTW, I use the same programs on lotus notes javascript several other computers at home and at work and it only occurs on this one. Thanks. 0 Question by:rwalker1 Facebook Twitter LinkedIn Google LVL 4 Best Solution by91mustang Disable the script debugger: Tools-internet Options Advanced Tab, check the following: Disable Script Debugging (Internet Explorer) Disable Script Debugging (Other) Go to Solution 10 Comments LVL 4 Overall: Level 4 Message Accepted Solution by:91mustang2005-06-23 Disable the script debugger: Tools-internet Options Advanced Tab, check the following: Disable Script Debugging (Internet Explorer) Disable Script Debugging (Other) 0 LVL 4 Overall: Level 4 Message Expert Comment by:91mustang2005-06-23 That should stop the jscript errors from showing and the page will load. 0 LVL 12 Overall: Level 12 Miscellaneous 6 Message Expert Comment by:kneH2005-06-24 Updating the javascript might sort it then :) 0 LVL 23 Overall: Level 23 Miscellaneous 7 Message Expert Comment by:gecko_au20032005-06-24 What about just re setting IE settings back to default by going to both the Program and Advanced tabs and clicking on both the reset buttons, one is restore to defaults and the other is reset web settings or something to that extent :) Once you have reset them it should be fine :) 0 Message Author Comment by:rwalker12005-06-26 Both instances of disable script debugging were already checked. I reset the IE settings back to default w