Révision 0a8aab32
Ajouté par Serghei Mihai il y a plus de 9 ans
calebasse/static/js/calebasse.dialog.js | ||
---|---|---|
17 | 17 |
$button.removeAttr('disabled'); |
18 | 18 |
} |
19 | 19 |
|
20 |
function generic_ajaxform_dialog(url, title, id, width, btn_submit_name, redirectToUrl, on_load_callback, height, extra_button) { |
|
20 |
function generic_ajaxform_dialog(url, title, id, width, btn_submit_name, redirectToUrl, on_load_callback, height, extra_button, replace_content) {
|
|
21 | 21 |
if (! height) |
22 | 22 |
height = 'auto'; |
23 | 23 |
$(id).load(url, |
... | ... | |
33 | 33 |
$(id + ' form').ajaxForm({ |
34 | 34 |
success: onsuccess, |
35 | 35 |
}); |
36 |
} else if(replace_content) { |
|
37 |
$('body').html(parse); |
|
36 | 38 |
} else { |
37 | 39 |
if (redirectToUrl) { |
38 | 40 |
if (redirectToUrl.indexOf('#') == 0) { |
Formats disponibles : Unified diff
dossiers: notification displayed when updates done on patient addresses/contacts
Closes #4807