diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-11-19 21:13:27 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-11-19 21:13:27 -0500 |
| commit | 6500cf422563eac86341a1fbc937e5554a66ee78 (patch) | |
| tree | b5a1a0157539f38bb269dfa2dbe7fab23e8b8b4f /StoneIsland/www/js/lib/products/CollectionView.js | |
| parent | 4c3febe100ee89726469d3823718aad69d00dfd4 (diff) | |
cms sets whether store is closed
Diffstat (limited to 'StoneIsland/www/js/lib/products/CollectionView.js')
| -rw-r--r-- | StoneIsland/www/js/lib/products/CollectionView.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/StoneIsland/www/js/lib/products/CollectionView.js b/StoneIsland/www/js/lib/products/CollectionView.js index 571bb4fc..03ff5451 100644 --- a/StoneIsland/www/js/lib/products/CollectionView.js +++ b/StoneIsland/www/js/lib/products/CollectionView.js @@ -22,8 +22,11 @@ var CollectionView = ScrollableView.extend({ this.scroller = new IScroll('#collection', app.iscroll_options) this.filterView = new CategoryFilter ({ parent: this }) }, - + show: function(){ + if (app.closed.storeIsClosed) { + return app.closed.show() + } app.footer.show("FILTER") document.body.className = "collection" if (this.loaded) { |
