diff options
author | Eric Marguin <e.marguin@agence-codecouleurs.fr> | 2014-07-10 14:14:25 +0200 |
---|---|---|
committer | Eric Marguin <e.marguin@agence-codecouleurs.fr> | 2014-07-10 14:14:25 +0200 |
commit | 12658641871b6c672ece4e2e4f0b5337faa17d2d (patch) | |
tree | a1a9761054ee08c13e29ff8bb17c85572c97a1ee /jquery.multiple.select.js | |
parent | 3ccc20af49791df36473df698191738b159157ab (diff) | |
download | multiple-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.js | 3 |
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', |