mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 00:09:06 +01:00
- LSdebug() : alert() dans IE
- getFData() : Correction d'un bug IE
This commit is contained in:
parent
cc5ba69872
commit
6b5a299f76
1 changed files with 10 additions and 4 deletions
|
@ -2,10 +2,15 @@ var LSdebug_active = 0;
|
|||
|
||||
function LSdebug(arguments) {
|
||||
if (LSdebug_active != 1) return;
|
||||
if (typeof console != 'undefined')
|
||||
if (typeof console != 'undefined') {
|
||||
console.log(arguments);
|
||||
if (typeof opera != 'undefined')
|
||||
return true;
|
||||
}
|
||||
if (typeof opera != 'undefined') {
|
||||
opera.postError(arguments);
|
||||
return true;
|
||||
}
|
||||
alert(arguments);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -73,11 +78,12 @@ function getFData(format,data,meth) {
|
|||
val=data[meth](ch[2]);
|
||||
}
|
||||
catch(e) {
|
||||
LSdebug('getFData() : '+meth+'() -> rater');
|
||||
return;
|
||||
}
|
||||
|
||||
if($type(ch[4])) {
|
||||
if ($type(ch[6])) {
|
||||
if($type(ch[4])&&ch[4]!="") {
|
||||
if ($type(ch[6])&&ch[6]!="") {
|
||||
var s=ch[4];
|
||||
var l=ch[6];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue