summaryrefslogtreecommitdiff
path: root/program/js/editor.js
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2007-06-08 23:47:57 +0000
committersvncommit <devs@roundcube.net>2007-06-08 23:47:57 +0000
commit8094288d237a2503de6f97956b5558b28c4db56b (patch)
tree8b1b8f1a5740b57a845c650dda301839ae36e522 /program/js/editor.js
parent570f0bb4a609b04dab58407a642922dfdf715bd5 (diff)
fixed html2text in editor
Diffstat (limited to 'program/js/editor.js')
-rw-r--r--program/js/editor.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/js/editor.js b/program/js/editor.js
index 3a191b594..df68cdd41 100644
--- a/program/js/editor.js
+++ b/program/js/editor.js
@@ -99,7 +99,8 @@ function rcmail_html2plain(htmlText)
http_request.onerror = function(o) { rcmail_handle_toggle_error(o); };
http_request.oncomplete = function(o) { rcmail_set_text_value(o); };
- var url=rcmail.env.comm_path+'&_action=html2text';
+ var url = rcmail.env.bin_path+'html2text.php';
+ console.log('HTTP request: ' + url);
http_request.POST(url, htmlText, 'application/octet-stream');
}