summaryrefslogtreecommitdiffstats
path: root/jquery.multiple.select.js
diff options
context:
space:
mode:
authorEric Marguin <e.marguin@agence-codecouleurs.fr>2014-07-10 14:14:25 +0200
committerEric Marguin <e.marguin@agence-codecouleurs.fr>2014-07-10 14:14:25 +0200
commit12658641871b6c672ece4e2e4f0b5337faa17d2d (patch)
treea1a9761054ee08c13e29ff8bb17c85572c97a1ee /jquery.multiple.select.js
parent3ccc20af49791df36473df698191738b159157ab (diff)
downloadmultiple-select-12658641871b6c672ece4e2e4f0b5337faa17d2d.zip
multiple-select-12658641871b6c672ece4e2e4f0b5337faa17d2d.tar.gz
multiple-select-12658641871b6c672ece4e2e4f0b5337faa17d2d.tar.bz2
custom delimiter for selectAll text
Diffstat (limited to 'jquery.multiple.select.js')
-rw-r--r--jquery.multiple.select.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/jquery.multiple.select.js b/jquery.multiple.select.js
index ca35770..14db7d9 100644
--- a/jquery.multiple.select.js
+++ b/jquery.multiple.select.js
@@ -71,7 +71,7 @@
'<li class="ms-select-all">',
'<label>',
'<input type="checkbox" ' + this.selectAllName + ' /> ',
- '[' + this.options.selectAllText + ']',
+ this.options.selectAllDelimiter[0] + this.options.selectAllText + this.options.selectAllDelimiter[1],
'</label>',
'</li>'
);
@@ -517,6 +517,7 @@
placeholder: '',
selectAll: true,
selectAllText: 'Select all',
+ selectAllDelimiter: ['[',']'],
allSelected: 'All selected',
minumimCountSelected: 3,
countSelected: '# of % selected',