alecpl
2009-07-07 c1e9b0306166c80da4d3cddb170dece838780d5a
- fix debug console


1 files modified
4 ■■■■ changed files
program/js/common.js 4 ●●●● patch | view | raw | blame | history
program/js/common.js
@@ -580,7 +580,7 @@
{
  this.log = function(msg)
  {
    var box = rcube_find_object('console');
    var box = rcube_find_object('dbgconsole');
    if (box) {
      if (msg.charAt(msg.length-1)=='\n')
@@ -599,7 +599,7 @@
  this.reset = function()
  {
    var box = rcube_find_object('console');
    var box = rcube_find_object('dbgconsole');
    if (box)
      box.innerText = box.value = '';
  };