Révision 90070ef6
Ajouté par Jérôme Schneider il y a plus de 9 ans
calebasse/static/js/calebasse.dialog.js | ||
---|---|---|
85 | 85 |
function calebasse_ajax_form(id) { |
86 | 86 |
function onsuccess(response, status, xhr, form) { |
87 | 87 |
if ($('.errorlist', response).length != 0) { |
88 |
$(id).html(response); |
|
88 |
$(id).parent().html(response);
|
|
89 | 89 |
$('form').ajaxForm({ |
90 | 90 |
success: onsuccess, |
91 | 91 |
}); |
Formats disponibles : Unified diff
static/js/calebasse.dialog.js: fixing calebasse_ajax_form
Closes #5285