diff options
author | Alvin Li <liweitianux@gmail.com> | 2013-09-09 10:10:17 +0800 |
---|---|---|
committer | Alvin Li <liweitianux@gmail.com> | 2013-09-09 10:10:17 +0800 |
commit | 62efe8809e2cdfc84666dbd5e987a4ce473a047a (patch) | |
tree | f2b0021117894d19fc00e99c19b830826c157eee /97suifang-front/assets/js/sheetdefault.js | |
parent | 52eebfa317cdc80739a19485880c2308c36eed91 (diff) | |
download | 97dev-62efe8809e2cdfc84666dbd5e987a4ce473a047a.tar.bz2 |
* finished modifying 'PM_TYPE' record for 'EditHistoryData' page
* synced '97suifang-front'
TODO:
* to merge changes of '97suifang-front'
Diffstat (limited to '97suifang-front/assets/js/sheetdefault.js')
-rw-r--r-- | 97suifang-front/assets/js/sheetdefault.js | 18 |
1 files changed, 18 insertions, 0 deletions
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); } |