Item11889: Add an option to conditionally not show close button in JQuery textboxlist
Priority: Enhancement
Current State: Closed
Released In: 1.1.6
Target Release: patch
Applies To: Extension
Component: JQueryPlugin
Branches: Release01x01 trunk
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