From 696d09411886e210132b8c5b5b4c1dbddf5f312b Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Wed, 5 Dec 2012 16:04:55 -0500 Subject: [PATCH] fixed filters on arranged map pages --- app/assets/javascripts/application.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index b2cc195c..9312b3f3 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -146,6 +146,9 @@ else if (rg != null) { showAll(rg); } + else if (map != null) { + showAll(map); + } } // this means that we are on a card view else { @@ -166,6 +169,9 @@ else if (rg != null) { hideAll(rg); } + else if (map != null) { + hideAll(map); + } } // this means that we are on a card view else { @@ -188,6 +194,9 @@ else if (rg != null) { switchVisible(rg, category); } + else if (map != null) { + switchVisible(map, category); + } } // this means that we are on a card view else {