You are here: Foswiki>Tasks Web>Item9472 (12 Sep 2010, ArthurClemens)Edit Attach

Item9472: User registration page gives js error

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component:
Branches:
Reported By: ArthurClemens
Waiting For:
Last Change By: ArthurClemens
foswiki is not defined. foswikilib should be loaded first, perhaps this is because of loading order?

Fix: put in every js file:
var foswiki;
if (foswiki == undefined)
    foswiki = {};

-- ArthurClemens - 15 Aug 2010

I have removed this again as this masks the real error. If everything works as expected, foswiki.js should be loaded first. If not, we have to look at the error why.

-- ArthurClemens - 16 Aug 2010

No more errors on the page.

-- ArthurClemens - 12 Sep 2010
 

ItemTemplate edit

Summary User registration page gives js error
ReportedBy ArthurClemens
Codebase trunk
SVN Range
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:222cc54e372d distro:89a0fc11c9a6
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r5 - 12 Sep 2010, ArthurClemens
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy