2
0
forked from Wavyzz/dolibarr

Qual: Use a so much simpler way to have ajax confirmation boxes

This commit is contained in:
Laurent Destailleur
2009-05-06 15:45:50 +00:00
parent a477c5cab7
commit 6335fe2b55
17 changed files with 144 additions and 130 deletions

View File

@@ -672,12 +672,12 @@ function cleanSerialize(expr) {
}
/*=================================================================
Purpose: Affiche un message de confirmation
Input: linkurl,message,ok,cancel,objectID
Author: Regis Houssin
Purpose: Show a confim popup
Input: title,linkurlyes,linkurlno,message,ok,cancel,objectID
Author: Regis Houssin, Laurent Destailleur
Licence: GPL
==================================================================*/
function dialogConfirm(linkurlyes,linkurlno,message,ok,cancel,objectID) {
function dialogConfirm(title,linkurlyes,linkurlno,message,ok,cancel,objectID) {
Dialog.confirm(message, {
width:560,
okLabel: ok,