• 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.

Item6287: Javascript not included when only ACTIONSEARCH used on page

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension ActionTrackerPlugin Normal New   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

If ACTIONSEARCH tag is used on a page without also including use of ACTION tag, the javascript for the plugin is not included in the rendered page. As a result, the status dropdown box is not active and can't be used to update action status as expected.

It appears that because ACTIONSEARCH is registered as a handler, it gets resolved before the common tags handler runs so the code in the common routine to add the css and javascript headers does not get executed. Looks like moving the addToHead calls from the common tags handler into the lazy init routine would resolve the problem.

Running with Plugin version 16787 (12 Dec 2008)

-- TWiki:Main/KenBrucker - 14 Jul 2009

ItemTemplate
Summary Javascript not included when only ACTIONSEARCH used on page
ReportedBy TWiki:Main.KenBrucker
Codebase 4.2.3
SVN Range

AppliesTo Extension
Component ActionTrackerPlugin
Priority Normal
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Topic revision: r1 - 2009-07-14 - KenBrucker
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback