Revision 02ce3555
Added by Serghei Mihai about 10 years ago
calebasse/static/js/calebasse.dialog.js | ||
---|---|---|
22 | 22 |
height = 'auto'; |
23 | 23 |
$(id).load(url, |
24 | 24 |
function () { |
25 |
$('.datepicker-date').datepicker({dateFormat: 'd/m/yy', showOn: 'button'}); |
|
26 |
$('.datepicker input').datepicker({dateFormat: 'd/m/yy', showOn: 'button'}); |
|
25 |
init_datepickers(id); |
|
27 | 26 |
function onsuccess(response, status, xhr, form) { |
28 | 27 |
enable_button($('#submit-btn')); |
29 | 28 |
var parse = $(response); |
calebasse/static/js/common.js | ||
---|---|---|
9 | 9 |
|
10 | 10 |
function init_datepickers(on) { |
11 | 11 |
$('.datepicker-date', on).datepicker({dateFormat: 'd/m/yy', showOn: 'button'}); |
12 |
$('.datepicker input', on).datepicker({dateFormat: 'd/m/yy', showOn: 'button'}); |
|
12 |
$('.datepicker input[type=text]', on).datepicker({dateFormat: 'd/m/yy', showOn: 'button'});
|
|
13 | 13 |
} |
Also available in: Unified diff
agenda: reccuring appointment end date read only if related acts pointed
Closes #5594
Signed-off-by: Mikaël Ates <mates@entrouvert.com>