I found what was the problem.
the code with actions were wrapped bu this following code :
global pagenow;
if ( $pagenow === "edit.php" && isset( $_GET['post_type'] ) ){}
When there is an ajax call, $pagenow === admin-ajax.php
and $_GET === [ ["_fs_blog_admin"]=> string(4) "true" ]
so that could not be fired.