dossiers: datepickers build on the form with errors

Closes #4064
This commit is contained in:
Serghei Mihai 2013-12-27 17:11:13 +01:00
parent 2cb60ebdb6
commit 25faf2ad5e
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ function generic_ajaxform_dialog(url, title, id, width, btn_submit_name, redirec
var parse = $(response);
if ($('.errorlist', parse).length != 0) {
$(id).html(response);
on_load_callback($(id));
$(id + ' form').ajaxForm({
success: onsuccess,
});