projects
/
ldapsaisie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fff686
)
LSdebug : Use LSdefault::log() function when console objects does not exist
author
Benjamin Renard
<brenard@easter-eggs.com>
Thu, 29 Oct 2009 21:59:55 +0000
(21:59 +0000)
committer
Benjamin Renard
<brenard@easter-eggs.com>
Thu, 29 Oct 2009 21:59:55 +0000
(21:59 +0000)
trunk/includes/js/functions.js
patch
|
blob
|
history
diff --git
a/trunk/includes/js/functions.js
b/trunk/includes/js/functions.js
index
10987b6
..
d9d6647
100644
(file)
--- a/
trunk/includes/js/functions.js
+++ b/
trunk/includes/js/functions.js
@@
-10,6
+10,10
@@
function LSdebug(arguments) {
opera.postError(arguments);
return true;
}
+ if (typeof varLSdefault != 'undefined') {
+ varLSdefault.log(arguments);
+ return true;
+ }
alert(arguments);
}