mirror of
https://git.topisto.net/tibo/template.git
synced 2026-03-31 19:29:10 +00:00
commit 20240914
This commit is contained in:
@@ -138,7 +138,7 @@ function modalSetFooter(valeur)
|
||||
*/
|
||||
function open_modal_hook(parametre)
|
||||
{
|
||||
console.log("open_modal_hook pour "+parametre);
|
||||
myLog("open_modal_hook pour "+parametre);
|
||||
let hook = null;
|
||||
let paramSplit = parametre.split(':');
|
||||
paramSplit.forEach(element => {
|
||||
@@ -147,7 +147,7 @@ function open_modal_hook(parametre)
|
||||
hook = modal_hooks[elemSplit[1]];
|
||||
}
|
||||
});
|
||||
if ((hook===null)||(hook===undefined)) hook = modal_hooks['ITEM'];
|
||||
if ((hook===null)||(hook===undefined)) hook = modal_hooks['random'];
|
||||
return hook(parametre);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user