diff options
author | Yaco <franco@reevo.org> | 2022-03-12 03:48:42 +0000 |
---|---|---|
committer | Yaco <franco@reevo.org> | 2022-03-12 03:48:42 +0000 |
commit | 5a2b689265654f704d06eb2ea9ee1b21078edcfc (patch) | |
tree | b52e9ce5c8236d2ecf660950238c2dd3d42ad5d2 /platform/www/lib/plugins/bureaucracy/script/datepicker.js | |
parent | 46377a425154286e3072880d55667a18b4518df1 (diff) |
add plugins: wrap, bureaucracy, phpwikify
Diffstat (limited to 'platform/www/lib/plugins/bureaucracy/script/datepicker.js')
-rwxr-xr-x | platform/www/lib/plugins/bureaucracy/script/datepicker.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/platform/www/lib/plugins/bureaucracy/script/datepicker.js b/platform/www/lib/plugins/bureaucracy/script/datepicker.js new file mode 100755 index 0000000..1716cbe --- /dev/null +++ b/platform/www/lib/plugins/bureaucracy/script/datepicker.js @@ -0,0 +1,11 @@ +/** + * Init datepicker for all date fields + */ + +jQuery(function(){ + jQuery('.bureaucracy__plugin .datepicker').datepicker({ + dateFormat: "yy-mm-dd", + changeMonth: true, + changeYear: true + }); +});
\ No newline at end of file |