Skip to content
Snippets Groups Projects
Commit e98522b1 authored by Regis Houssin's avatar Regis Houssin
Browse files

Ajax: début ajout message de confirmation de suppression ou autre afin...

Ajax: début ajout message de confirmation de suppression ou autre afin d'éviter de recharger la page
parent db1a69e2
Branches
No related tags found
No related merge requests found
...@@ -666,3 +666,13 @@ function confirmDelete(linkurl,message,ok,cancel) { ...@@ -666,3 +666,13 @@ function confirmDelete(linkurl,message,ok,cancel) {
ok:function(win) {window.location.href=linkurl; return true;} ok:function(win) {window.location.href=linkurl; return true;}
}); });
} }
/*=================================================================
Purpose: Affiche un message d'information
Input: linkurl,message,ok,cancel
Author: Regis Houssin
Licence: GPL
==================================================================*/
function info(message) {
Dialog.info(message, {width:700});
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment