You are here: Foswiki>Tasks Web>Item11889 (02 Dec 2012, GeorgeClark)Edit Attach

Item11889: Add an option to conditionally not show close button in JQuery textboxlist

pencil
Priority: Enhancement
Current State: Closed
Released In: 1.1.6
Target Release: patch
Applies To: Extension
Component: JQueryPlugin
Branches: Release01x01 trunk
Reported By: ArthurClemens
Waiting For:
Last Change By: GeorgeClark
For TagMePlugin I would like to implement Item11867. Therefore the X button in each label should be hidden.

This can be implemented in jquery.textboxlist.uncompressed.js:
  • add option mayClose
  • make creation of close button (line 239) conditional: if (self.opts.mayClose)
  • remove padding from label if no close button is shown (for instance: add a jqTextboxListMayClose class to show the padding, and no padding if no class)

-- ArthurClemens - 22 May 2012

I made it an enableClose defaulting to true. Added docu about all options.

-- MichaelDaum - 23 May 2012

Great. Thanks for the speedy reply.

-- ArthurClemens - 23 May 2012
 

ItemTemplate edit

Summary Add an option to conditionally not show close button in JQuery textboxlist
ReportedBy ArthurClemens
Codebase
SVN Range
AppliesTo Extension
Component JQueryPlugin
Priority Enhancement
CurrentState Closed
WaitingFor
Checkins distro:519225f36235 distro:dd92b4caeb67
TargetRelease patch
ReleasedIn 1.1.6
CheckinsOnBranches Release01x01 trunk
trunkCheckins distro:519225f36235
Release01x01Checkins distro:dd92b4caeb67
Topic revision: r9 - 02 Dec 2012, GeorgeClark
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