aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-03-10 16:11:35 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-03-10 16:11:35 +0000
commitc3c04c7dc01ed660c22c4bd43f308a01a47e7bcc (patch)
treec698d5d751dfb071b5790d728827f67d8e3ac4ae /web/cobrands
parentf2756c4c825ba73c76fafd84acc3663ea410858a (diff)
parent1115f106e0421c10a81c3ce8d187ef6cd3e639fc (diff)
Merge branch 'issues/forcouncils/171-filter-dropdown-all'
Diffstat (limited to 'web/cobrands')
-rw-r--r--web/cobrands/fixmystreet/fixmystreet.js5
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
}]
});
}