• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

When viewing bug Bugs.Item1169 in IE the Javascript debugger comes up with this error when I view the page

A Runtime Error has occured. Do you want to Debug.
Line: 301
Error: 'Insertion' is undefined

and the debugging gives

   // After the table has been drawn
   var count = document.getElementById("twikiAttachmentsTable").getElementsByTagName("tr").length - 1; /* assume that one tr is used for the header */
   new Insertion.Bottom('attachmentsshowlink', " (" + count + ")" );
   new Insertion.Bottom('attachmentshidelink', " (" + count + ")" );

One difference in this topic is that I attached a file and enabled create link. That creates some garbage at the top because of the hidden topic text area. It could be this. I did not try to remove it to enable someone to see the error and fix it.


Is prototype.js loaded?


Yes CC

prototype.js is missing on the server, I think due to a legacy use of mklinks.sh. The following actions are required from server admins:

  1. rm -r pub/TWiki/PatternSkin
  2. perl pseudo-install.pl -link PatternSkin

ok, i've run that - did it fix it?

what should I replace the cronjob's call to mklinks with?


No, http://develop.twiki.org/~develop/pub/TWiki/PatternSkin/prototype.js is still not found here.


The file is here now.


Summary Javascript errors in some topics on bugsweb - feedback from KJL/AC/CC
ReportedBy KennethLavrsen

SVN Range Wed, 14 Dec 2005 build 7851
AppliesTo Engine
Component BugDatabase
Priority Urgent
CurrentState Closed

Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2005-12-20 - ArthurClemens
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback