alecpl
2010-05-18 677e1f26fe47cc0c3e0819cb99a9024af49a619c
program/js/app.js
@@ -50,7 +50,6 @@
  this.env.request_timeout = 180;  // seconds
  this.env.draft_autosave = 0;     // seconds
  this.env.comm_path = './';
  this.env.bin_path = './bin/';
  this.env.blankpage = 'program/blank.gif';
  // set jQuery ajax options
@@ -4825,8 +4824,7 @@
    }
    // replace quota image
    obj.innerHTML = '';
    $(obj).append(bar1).append(bar2).append(main);
    $(obj).html('').append(bar1).append(bar2).append(main);
  };
  /********************************************************/
@@ -4836,7 +4834,7 @@
  this.html2plain = function(htmlText, id)
  {
    var rcmail = this,
      url = this.env.bin_path + 'html2text.php';
      url = '?_task=utils&_action=html2text';
    this.set_busy(true, 'converting');
    console.log('HTTP POST: ' + url);
@@ -4907,11 +4905,6 @@
  // handle HTTP response
  this.http_response = function(response)
  {
  if (window.console) {
          var date1 = new Date();
          var milliseconds1 = date1.getTime();
        }
    if (response.unlock)
      this.set_busy(false);
@@ -4996,12 +4989,6 @@
        }
        break;
    }
if (window.console) {
       var date2 = new Date();
       var milliseconds2 = date2.getTime();
       console.log('Response execution time: ' + (milliseconds2 - milliseconds1) + 'ms');
     }
  };
  // handle HTTP request errors