From 62efe8809e2cdfc84666dbd5e987a4ce473a047a Mon Sep 17 00:00:00 2001 From: Alvin Li Date: Mon, 9 Sep 2013 10:10:17 +0800 Subject: * finished modifying 'PM_TYPE' record for 'EditHistoryData' page * synced '97suifang-front' TODO: * to merge changes of '97suifang-front' --- 97suifang-front/assets/js/sheetdefault.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to '97suifang-front/assets/js/sheetdefault.js') diff --git a/97suifang-front/assets/js/sheetdefault.js b/97suifang-front/assets/js/sheetdefault.js index 51bd8fa..cda7a27 100644 --- a/97suifang-front/assets/js/sheetdefault.js +++ b/97suifang-front/assets/js/sheetdefault.js @@ -1,6 +1,21 @@ var card_2_delete_id; var card_detail_id; $(document).ready(function(){ + /************************ 登录控件交互 Start ********************************/ + $(".drop-down-area").bind("click", function(){ + var drop_down_menu = $(".drop-down-menu"); + if(drop_down_menu.hasClass("open")){ + drop_down_menu.removeClass("open"); + }else{ + drop_down_menu.addClass("open"); + } + return false; + }); + $("body").bind("click", function(){ + $(".drop-down-menu").removeClass("open"); + }); + /************************ 登录控件交互 Start ********************************/ + //不允许input框复制,减少验证粘帖的交互 $("input[type='text']").bind("paste", function(){ return false; @@ -160,6 +175,9 @@ $(document).ready(function(){ } }); $("#search_end_date").datepicker({ + showOn: "both", + buttonImage: "../plugins/datepicker/images/calendar.png", + buttonImageOnly: true, onClose: function( selectedDate ) { $("#search_start_date").datepicker("option", "maxDate", selectedDate); } -- cgit v1.2.2