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

Item4356: AutoCompletePlugin: Class names not being added

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension AutoCompletePlugin Normal Closed TWiki:Main.AndrewRJones n/a  

Edit Form Data

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

Detail

I always though that this:
$params->{class}
   ? $class = $params->{class} . ' autoCompleteInput'
   : $class = 'autoCompleteInput';

was the same as:

if( $params->{class} ){
   $class .= $params->{class} . ' autoCompleteInput';
} else {
   $class = 'autoCompleteInput';
}

But its not, only the second one works... Newbie mistake smile

-- TWiki:Main/AndrewRJones - 13 Jul 2007

ItemTemplate
Summary AutoCompletePlugin: Class names not being added
ReportedBy TWiki:Main.AndrewRJones
Codebase

SVN Range TWiki-4.1.2, Thu, 28 Jun 2007, build 14298
AppliesTo Extension
Component AutoCompletePlugin
Priority Normal
CurrentState Closed
WaitingFor TWiki:Main.AndrewRJones
Checkins TWikirev:14391
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2007-07-13 - TWikiUserMapping_AndrewRJones
 
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