From 579c36ec7518d442b66b1e8e5c202131176d9cbe Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Mon, 14 Mar 2016 11:10:18 +1100 Subject: [PATCH] ensure the search box opens --- app/views/maps/activemaps.html.erb | 2 +- app/views/maps/featuredmaps.html.erb | 2 +- app/views/maps/mymaps.html.erb | 2 +- app/views/maps/usermaps.html.erb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/maps/activemaps.html.erb b/app/views/maps/activemaps.html.erb index 90156321..cfcbce27 100644 --- a/app/views/maps/activemaps.html.erb +++ b/app/views/maps/activemaps.html.erb @@ -10,6 +10,6 @@ <% content_for :title, "Explore Active Maps | Metamaps" %> Metamaps.currentSection = "explore"; - Metamaps.GlobalUI.Search.isOpen = true; + Metamaps.GlobalUI.Search.open(); Metamaps.GlobalUI.Search.lock(); diff --git a/app/views/maps/featuredmaps.html.erb b/app/views/maps/featuredmaps.html.erb index 048d23a4..2c438b49 100644 --- a/app/views/maps/featuredmaps.html.erb +++ b/app/views/maps/featuredmaps.html.erb @@ -10,6 +10,6 @@ <% content_for :title, "Explore Featured Maps | Metamaps" %> Metamaps.currentSection = "explore"; - Metamaps.GlobalUI.Search.isOpen = true; + Metamaps.GlobalUI.Search.open(); Metamaps.GlobalUI.Search.lock(); diff --git a/app/views/maps/mymaps.html.erb b/app/views/maps/mymaps.html.erb index 76a96ec1..60c69f68 100644 --- a/app/views/maps/mymaps.html.erb +++ b/app/views/maps/mymaps.html.erb @@ -10,6 +10,6 @@ <% content_for :title, "Explore My Maps | Metamaps" %> Metamaps.currentSection = "explore"; - Metamaps.GlobalUI.Search.isOpen = true; + Metamaps.GlobalUI.Search.open(); Metamaps.GlobalUI.Search.lock(); diff --git a/app/views/maps/usermaps.html.erb b/app/views/maps/usermaps.html.erb index 4107fbb7..c0855329 100644 --- a/app/views/maps/usermaps.html.erb +++ b/app/views/maps/usermaps.html.erb @@ -13,6 +13,6 @@ <% content_for :title, @user.name + " | Metamaps" %> Metamaps.currentSection = "explore"; - Metamaps.GlobalUI.Search.isOpen = true; + Metamaps.GlobalUI.Search.open(); Metamaps.GlobalUI.Search.lock();