Révision 54318d2c
Ajouté par Serghei Mihai il y a plus de 9 ans
calebasse/static/js/calebasse.agenda.js | ||
---|---|---|
4 | 4 |
var current_date = path[3]; |
5 | 5 |
COOKIE_PATH = '/' + service + '/agenda'; |
6 | 6 |
|
7 |
function delete_prompt(text) { |
|
8 |
var r = prompt(text + '\n Pour cela veuillez entrer DEL'); |
|
9 |
if (r.toLowerCase().replace(/^\s+|\s+$/g, '') == 'del') { |
|
10 |
return true; |
|
11 |
} else { |
|
12 |
return false; |
|
13 |
} |
|
14 |
} |
|
15 |
|
|
16 | 7 |
function get_initial_fields(button, base) { |
17 | 8 |
var participants = new Array(); |
18 | 9 |
var ressource = null; |
... | ... | |
250 | 241 |
return $(ressource_target).find('a.tab'); |
251 | 242 |
} |
252 | 243 |
|
253 |
function init_datepickers(dialog) { |
|
254 |
$('.datepicker-date', dialog).datepicker({dateFormat: 'd/m/yy', showOn: 'button'}); |
|
255 |
$('.datepicker input', dialog).datepicker({dateFormat: 'd/m/yy', showOn: 'button'}); |
|
256 |
} |
|
257 |
|
|
258 | 244 |
function event_dialog(url, title, width, btn_text) { |
259 | 245 |
function add_periodic_events(base) { |
260 | 246 |
init_datepickers(base); |
Formats disponibles : Unified diff
dossiers: printing each patient record tab with filtering past and future appointments by dates
Closes #3109