diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-03-10 16:11:35 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-03-10 16:11:35 +0000 |
commit | c3c04c7dc01ed660c22c4bd43f308a01a47e7bcc (patch) | |
tree | c698d5d751dfb071b5790d728827f67d8e3ac4ae /web/cobrands | |
parent | f2756c4c825ba73c76fafd84acc3663ea410858a (diff) | |
parent | 1115f106e0421c10a81c3ce8d187ef6cd3e639fc (diff) |
Merge branch 'issues/forcouncils/171-filter-dropdown-all'
Diffstat (limited to 'web/cobrands')
-rw-r--r-- | web/cobrands/fixmystreet/fixmystreet.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js index df8285942..aa89f8115 100644 --- a/web/cobrands/fixmystreet/fixmystreet.js +++ b/web/cobrands/fixmystreet/fixmystreet.js @@ -537,14 +537,15 @@ $.extend(fixmystreet.set_up, { function make_multi(id) { var $id = $('#' + id), - all = $id.data('all'); + all = $id.data('all'), + allOpts = $id.data('allOptions') || []; $id.multiSelect({ allText: all, noneText: all, positionMenuWithin: $('#side'), presets: [{ name: all, - options: [] + options: allOpts }] }); } |