From e98522b16e9b7a242e0afd1dff580e960ada6b45 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sat, 4 Aug 2007 13:32:12 +0000 Subject: [PATCH] =?UTF-8?q?Ajax:=20d=E9but=20ajout=20message=20de=20confir?= =?UTF-8?q?mation=20de=20suppression=20ou=20autre=20afin=20d'=E9viter=20de?= =?UTF-8?q?=20recharger=20la=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/lib/lib_head.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/htdocs/lib/lib_head.js b/htdocs/lib/lib_head.js index 52105418761..ef59dac6fb8 100644 --- a/htdocs/lib/lib_head.js +++ b/htdocs/lib/lib_head.js @@ -665,4 +665,14 @@ function confirmDelete(linkurl,message,ok,cancel) { cancel:function(win){}, 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