summaryrefslogtreecommitdiff
path: root/program/js/common.js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-04-15 19:19:56 +0200
committerAleksander Machniak <alec@alec.pl>2014-04-15 19:19:56 +0200
commit5be6dcf0e2234b22391ad4f654efddd0ba7c0e92 (patch)
tree6ee9073146ce514a98539a89376c66791aa1b735 /program/js/common.js
parent2e79d8d539ebc1830553a49a8080d0356c9d9531 (diff)
Remove useless debug_level=8 and javascripts's rcube_console
Diffstat (limited to 'program/js/common.js')
-rw-r--r--program/js/common.js30
1 files changed, 0 insertions, 30 deletions
diff --git a/program/js/common.js b/program/js/common.js
index 3f82b6df8..3d264c3bd 100644
--- a/program/js/common.js
+++ b/program/js/common.js
@@ -529,36 +529,6 @@ function getCookie(name)
roundcube_browser.prototype.set_cookie = setCookie;
roundcube_browser.prototype.get_cookie = getCookie;
-// tiny replacement for Firebox functionality
-function rcube_console()
-{
- this.log = function(msg)
- {
- var box = rcube_find_object('dbgconsole');
-
- if (box) {
- if (msg.charAt(msg.length-1)=='\n')
- msg += '--------------------------------------\n';
- else
- msg += '\n--------------------------------------\n';
-
- // Konqueror doesn't allow to just change the value of hidden element
- if (bw.konq) {
- box.innerText += msg;
- box.value = box.innerText;
- } else
- box.value += msg;
- }
- };
-
- this.reset = function()
- {
- var box = rcube_find_object('dbgconsole');
- if (box)
- box.innerText = box.value = '';
- };
-};
-
var bw = new roundcube_browser();
bw.set_html_class();