mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-07 18:18:18 +01:00
Fix: ajout identifiant afin d'viter les conflits
This commit is contained in:
@@ -652,16 +652,17 @@ function cleanSerialize(expr) {
|
||||
|
||||
/*=================================================================
|
||||
Purpose: Affiche un message de confirmation
|
||||
Input: linkurl,message,ok,cancel
|
||||
Input: linkurl,message,ok,cancel,objectID
|
||||
Author: Regis Houssin
|
||||
Licence: GPL
|
||||
==================================================================*/
|
||||
function dialogConfirm(linkurl,message,ok,cancel) {
|
||||
function dialogConfirm(linkurl,message,ok,cancel,objectID) {
|
||||
Dialog.confirm(message, {
|
||||
width:300,
|
||||
okLabel: ok,
|
||||
cancelLabel: cancel,
|
||||
buttonClass: "button",
|
||||
id: objectID,
|
||||
cancel:function(win){},
|
||||
ok:function(win) {window.location.href=linkurl; return true;}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user