#1153 Dialog box : confirm_form in javascript , use of smoke, add style
This commit is contained in:
parent
abc6245cb5
commit
128d76de54
1 changed files with 5 additions and 8 deletions
|
|
@ -1518,9 +1518,8 @@ function display_sub_menu(p_dossier,p_profile,p_dep,p_level)
|
|||
*/
|
||||
function remove_sub_menu(p_dossier,profile_menu_id)
|
||||
{
|
||||
smoke.confirm('Confirme ?',
|
||||
function (e) {
|
||||
if (e) {
|
||||
confirm_form(null,'Confirme ?',
|
||||
function () {
|
||||
waiting_box();
|
||||
new Ajax.Request('ajax_misc.php',
|
||||
{
|
||||
|
|
@ -1541,11 +1540,9 @@ function remove_sub_menu(p_dossier,profile_menu_id)
|
|||
}
|
||||
}
|
||||
}
|
||||
);
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
});
|
||||
)
|
||||
});
|
||||
|
||||
}
|
||||
/**
|
||||
* @brief add a menu to a profile, propose only the available menu
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue