summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-05-18 10:25:29 +0000
committeralecpl <alec@alec.pl>2010-05-18 10:25:29 +0000
commit677e1f26fe47cc0c3e0819cb99a9024af49a619c (patch)
tree91074d603179889ba7fbde9d080c85ed62b27846 /program/js/app.js
parentcaccd193c8403913d7c77d65363ff6e4d4269dfb (diff)
- Some files from /bin + spellchecking actions moved to the new 'utils' task
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 253d8591d..dfd7c9f87 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -50,7 +50,6 @@ function rcube_webmail()
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 @@ function rcube_webmail()
}
// replace quota image
- obj.innerHTML = '';
- $(obj).append(bar1).append(bar2).append(main);
+ $(obj).html('').append(bar1).append(bar2).append(main);
};
/********************************************************/
@@ -4836,7 +4834,7 @@ function rcube_webmail()
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);