ANCPLAN : fix bug when removing operation
This commit is contained in:
parent
87f6fe7cf2
commit
5a1ac80796
2 changed files with 12 additions and 3 deletions
|
|
@ -338,9 +338,12 @@ function anc_remove_operation(p_dossier, p_oa_group)
|
|||
p_oa_group, "gDossier":
|
||||
p_dossier, "op": "remove_anc"};
|
||||
var queryString = encodeJSON(obj);
|
||||
g(p_oa_group).style.display = 'none';
|
||||
var e = new Ajax.Request("ajax_misc.php",
|
||||
{method: 'get', parameters: queryString});
|
||||
{method: 'get', parameters: queryString,onSuccess:function req() {
|
||||
$("tr"+p_oa_group).remove();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
} else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue