Item10536: System.UserRegistration WikiName JS support for all skins

Priority: Urgent
Current State: Closed
Released In: 1.1.3
Target Release: patch
Applies To: Engine
Component: TopicUserMappingContrib
Reported By: WillNorris
Waiting For: Main.WillNorris
Last Change By: KennethLavrsen
UserRegistration uses javascript functions which are always included by PatternSkin.

using other skins, i get the following JS error:
Error: foswiki.String is undefined
Source File:
Line: 1

to System/DefaultUserRegistration, i added at top:

%ADDTOZONE{ "script" id="JavascriptFiles/foswikiString"
            text="<script type='text/javascript'

which i think should work with any skin. i note that NatSkin has its own version of registration, and i assume that it was not broken.

-- WillNorris - 25 Mar 2011

Topic revision: r4 - 16 Apr 2011, KennethLavrsen - This page was cached on 13 Oct 2015 - 23:06. Get a fresh version here.
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License