diff --git a/app/views/layouts/base_org.html.erb b/app/views/layouts/base_org.html.erb
index 9ca590390..5af5c9ad0 100644
--- a/app/views/layouts/base_org.html.erb
+++ b/app/views/layouts/base_org.html.erb
@@ -43,7 +43,16 @@
<%#= link_to '首页', organization_path(@organization, :show_homepage => 1),:class=>"linkGrey8 f14" %>
<% if User.current.logged? %>
-
+
+
+
<% else %>
@@ -183,10 +192,25 @@
}
else
{
- alert("您还没有设置首页! 您可以把您喜欢的文章设为组织首页。");
+ alert("您还未设置首页!");
}
}
-
+ $(document).ready(function(){
+ $("#orgUser,#orgSwitch").click(function(){
+ $(".org_login_list").toggle();
+ if($("#orgArrow").attr("class") == "orgMenuArrow"){
+ $("#orgArrow").attr("class","orgMenuArrow2");
+ }
+ else {
+ $("#orgArrow").attr("class","orgMenuArrow") ;
+ }
+ });
+ if($(".org_login_list").children().click){
+ $(".org_login_list").css("display","none");
+ $("#orgArrow").attr("class","orgMenuArrow");
+ };
+ });
+