agenda: reccuring appointment end date read only if related acts pointed
Closes #5594 Signed-off-by: Mikaël Ates <mates@entrouvert.com>
This commit is contained in:
parent
04eb569d56
commit
02ce35550b
|
@ -22,8 +22,7 @@ function generic_ajaxform_dialog(url, title, id, width, btn_submit_name, redirec
|
|||
height = 'auto';
|
||||
$(id).load(url,
|
||||
function () {
|
||||
$('.datepicker-date').datepicker({dateFormat: 'd/m/yy', showOn: 'button'});
|
||||
$('.datepicker input').datepicker({dateFormat: 'd/m/yy', showOn: 'button'});
|
||||
init_datepickers(id);
|
||||
function onsuccess(response, status, xhr, form) {
|
||||
enable_button($('#submit-btn'));
|
||||
var parse = $(response);
|
||||
|
|
|
@ -9,5 +9,5 @@ function delete_prompt(text) {
|
|||
|
||||
function init_datepickers(on) {
|
||||
$('.datepicker-date', on).datepicker({dateFormat: 'd/m/yy', showOn: 'button'});
|
||||
$('.datepicker input', on).datepicker({dateFormat: 'd/m/yy', showOn: 'button'});
|
||||
$('.datepicker input[type=text]', on).datepicker({dateFormat: 'd/m/yy', showOn: 'button'});
|
||||
}
|
||||
|
|
Reference in New Issue