[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 04/10: #1153 Dialog box : confirm_form in jav
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 04/10: #1153 Dialog box : confirm_form in javascript , use of smoke, add style |
Date: |
Wed, 26 Aug 2015 18:11:18 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 128d76de548052bcdae6d517940f179b3ccff340
Author: Dany De Bontridder <address@hidden>
Date: Tue Aug 25 20:22:59 2015 +0200
#1153 Dialog box : confirm_form in javascript , use of smoke, add style
---
html/js/scripts.js | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/html/js/scripts.js b/html/js/scripts.js
index d656b4e..6b619cb 100644
--- a/html/js/scripts.js
+++ b/html/js/scripts.js
@@ -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
- [Noalyss-commit] [noalyss] branch master updated (3d76f6d -> 1dc7ee2), Dany De Bontridder, 2015/08/26
- [Noalyss-commit] [noalyss] 01/10: #1153 Dialog box : move smoke.css in each style sheet CSS to customize them, Dany De Bontridder, 2015/08/26
- [Noalyss-commit] [noalyss] 03/10: Bug #1151Bug cannot remove a submenu, Dany De Bontridder, 2015/08/26
- [Noalyss-commit] [noalyss] 07/10: Add variable NOALYSS_TEMPLATE, Dany De Bontridder, 2015/08/26
- [Noalyss-commit] [noalyss] 04/10: #1153 Dialog box : confirm_form in javascript , use of smoke, add style,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 05/10: Bug #1151Bug cannot display properly when only one submenu, Dany De Bontridder, 2015/08/26
- [Noalyss-commit] [noalyss] 08/10: Bug #1151 typo, Dany De Bontridder, 2015/08/26
- [Noalyss-commit] [noalyss] 06/10: Task #1159 - Déconnexion/reconnexion - pop-up? Bug #1151Bug cannot display properly when only one submenu, Dany De Bontridder, 2015/08/26
- [Noalyss-commit] [noalyss] 09/10: Code Documentation, Dany De Bontridder, 2015/08/26
- [Noalyss-commit] [noalyss] 02/10: Task #1151 - Amélioration configuration des menus Bug #1151error with the profile.p_id , confusion with profile_menu.pm_id, Dany De Bontridder, 2015/08/26
- [Noalyss-commit] [noalyss] 10/10: improve appearance, Dany De Bontridder, 2015/08/26