mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-10 03:28:18 +01:00
Qual: Use a so much simpler way to have ajax confirmation boxes
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user