Item9114: Strikeone broken on IE

Priority: Urgent
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component:
Branches:
Reported By: MichaelDaum
Waiting For:
Last Change By: KennethLavrsen
... because document.getElementsByClassName() isn't standard. (well maybe it is but IE doesn't implement it)

-- MichaelDaum - 07 Jun 2010

This change makes strikeone.js dependant on foswikilib. If this is the solution, it should be added in the head before strikeone.js in Foswiki::writeCompletePage()

-- PaulHarvey - 08 Jun 2010

No. foswiki.getElementsByClassName() should be ported to jquery.foswiki the same way foswiki.getMetaTag() was. As both are a one-liners, they are both deprecated to encourage javascript developers to simplify their code appropriately.

-- MichaelDaum - 08 Jun 2010
Topic revision: r10 - 04 Oct 2010, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License