From b9065d7bc19e55309204e8beb485b9cad496f0da Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Tue, 15 Mar 2011 23:02:05 -0700 Subject: [PATCH] Extended profile - add fancy datepicker widgets --- plugins/ExtendedProfile/js/profiledetail.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/ExtendedProfile/js/profiledetail.js b/plugins/ExtendedProfile/js/profiledetail.js index 9fb935f153..d24b4aabe8 100644 --- a/plugins/ExtendedProfile/js/profiledetail.js +++ b/plugins/ExtendedProfile/js/profiledetail.js @@ -81,6 +81,10 @@ $(document).ready(function() { source: 'finduser', minLength: 2 }); + $.datepicker.formatDate('yy-mm-dd'); + + $("input[name$=-start], input[name$=-end], #extprofile-birthday").datepicker({ dateFormat: 'd M yy' }); + var multifields = ["phone-item", "experience-item", "education-item", "im-item"]; for (f in multifields) { -- 2.39.5