aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-03-09 14:23:51 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-03-09 14:23:51 +0000
commit1115f106e0421c10a81c3ce8d187ef6cd3e639fc (patch)
treeabbd4504bc796e26dfe9d1634264df94a7bfa435 /web/cobrands
parent8c5f462c2215446df04503e4da4cd40e0b01ec59 (diff)
Specify options in 'all' status filter.
A cobrand may have a blank default that isn't everything, so the "All reports" option must specify all the possible options.
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 8e8941421..6480f47f5 100644
--- a/web/cobrands/fixmystreet/fixmystreet.js
+++ b/web/cobrands/fixmystreet/fixmystreet.js
@@ -722,14 +722,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
}]
});
}