mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-22 16:33:48 +01:00
- LSsession : Correction des méthodes addCssFile() et addJSscript() pour
eviter les doublons.
This commit is contained in:
parent
5889a817a5
commit
1c0aa2c82e
1 changed files with 2 additions and 4 deletions
|
@ -822,9 +822,7 @@ class LSsession {
|
|||
'file' => $file,
|
||||
'path' => $path
|
||||
);
|
||||
if (in_array($script, $this -> JSscripts))
|
||||
return;
|
||||
$this -> JSscripts[]=$script;
|
||||
$this -> JSscripts[$path.$file]=$script;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -853,7 +851,7 @@ class LSsession {
|
|||
'file' => $file,
|
||||
'path' => $path
|
||||
);
|
||||
$this -> CssFiles[]=$cssFile;
|
||||
$this -> CssFiles[$path.$file]=$cssFile;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue