From 0be3ef0a65cbf3d8f6356ad2a5856a6130896642 Mon Sep 17 00:00:00 2001 From: lizanle <491823689@qq.com> Date: Tue, 25 Aug 2015 18:26:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/account/login.html.erb | 2 +- app/views/layouts/_unlogin_header.html.erb | 29 ++++++++++++++++------ app/views/layouts/course_base.html.erb | 20 ++++++++++++--- 3 files changed, 39 insertions(+), 12 deletions(-) diff --git a/app/views/account/login.html.erb b/app/views/account/login.html.erb index deec186c8..f2ac18084 100644 --- a/app/views/account/login.html.erb +++ b/app/views/account/login.html.erb @@ -16,7 +16,7 @@ $(document).ready(function(){ $(".homepageSearchIcon").click(function(){ - var val=$('input:radio[name="navSearchType"]:checked').val(); + var val=$('input:radio[name="search_type"]:checked').val(); if(val==null){ $("#navSearchAlert").css({display:"block"}); } diff --git a/app/views/layouts/_unlogin_header.html.erb b/app/views/layouts/_unlogin_header.html.erb index 4151493fc..446b4876c 100644 --- a/app/views/layouts/_unlogin_header.html.erb +++ b/app/views/layouts/_unlogin_header.html.erb @@ -9,29 +9,41 @@ - +