From 873700d72ef724ecb72f6d46496a57a1eecac2ee Mon Sep 17 00:00:00 2001 From: Bruce McPherson Date: Fri, 24 Jun 2016 18:10:44 +0100 Subject: [PATCH] updated by GasGit automation --- scripts/Home.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/Home.js b/scripts/Home.js index 4ceccf8..ffa1d2e 100644 --- a/scripts/Home.js +++ b/scripts/Home.js @@ -244,6 +244,15 @@ var Home = (function (home) { }); },false); + // this one is about whether to apply filters + var elem = Process.control.sankey.elementer.getElements().controls.applyFilters; + Process.control.watching.watcher.getWatching().domain.applyFilters = elem.checked; + elem.addEventListener('change', function () { + var w = Process.control.watching.watcher; + w.getWatching().domain.applyFilters = elem.checked; + w.poke() + }); + };