summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-04-16 17:38:19 +0000
committeralecpl <alec@alec.pl>2009-04-16 17:38:19 +0000
commitc0b82242b093ec5fa2f353fe2d4f8d85f18b0e0a (patch)
tree549a67bbe4b7ffa11d8ded7b5707d790922b1f22
parentca3c7387068c7a87b84efe73d9de448b3f0c6867 (diff)
- Fix debug console on Safari
-rw-r--r--CHANGELOG1
-rw-r--r--program/js/common.js7
2 files changed, 3 insertions, 5 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 3d68b5a5c..18bef3519 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,7 @@
CHANGELOG RoundCube Webmail
===========================
+- Fix debug console on Konqueror and Safari
- Fix messagelist focus issue when modifying status of selected messages (#1485807)
- Support STARTTLS in IMAP connection (#1485284)
- Fix DEL key problem in search boxes (#1485528)
diff --git a/program/js/common.js b/program/js/common.js
index 7ec18f205..bd699d924 100644
--- a/program/js/common.js
+++ b/program/js/common.js
@@ -602,7 +602,6 @@ function getCookie(name)
roundcube_browser.prototype.get_cookie = getCookie;
-
// tiny replacement for Firebox functionality
function rcube_console()
{
@@ -616,7 +615,7 @@ function rcube_console()
else
msg += '\n--------------------------------------\n';
- // Konqueror (Safari also?) doesn't allows to just change value of hidden element
+ // Konqueror doesn't allows to just change value of hidden element
if (bw.konq) {
box.innerText += msg;
box.value = box.innerText;
@@ -634,9 +633,7 @@ function rcube_console()
}
var bw = new roundcube_browser();
-
-if (!window.console)
- console = new rcube_console();
+var console = new rcube_console();
// Add escape() method to RegExp object