diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-03-10 18:04:04 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-03-10 18:05:22 +0000 |
commit | 8b19bd2c900e94b1dff643211a4b3a93c8718c27 (patch) | |
tree | 665fc3b7d751d3f3618953688f22a574d8b1c651 /web | |
parent | 57e5cd72ed7fe2f8b9c72a1390a7ad37fd5cfcc2 (diff) |
Be clearer if no states selected is not all states
As with 1115f106, a default might not be everything.
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/fixmystreet/fixmystreet.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js index aa89f8115..db61bd008 100644 --- a/web/cobrands/fixmystreet/fixmystreet.js +++ b/web/cobrands/fixmystreet/fixmystreet.js @@ -538,10 +538,11 @@ $.extend(fixmystreet.set_up, { function make_multi(id) { var $id = $('#' + id), all = $id.data('all'), + none = $id.data('none') || all, allOpts = $id.data('allOptions') || []; $id.multiSelect({ allText: all, - noneText: all, + noneText: none, positionMenuWithin: $('#side'), presets: [{ name: all, |