From 91e0ca37e8d61b9055e950f82527896e75e713eb Mon Sep 17 00:00:00 2001 From: estadtherr Date: Fri, 8 Jun 2007 23:47:57 +0000 Subject: fixed html2text in editor git-svn-id: https://svn.roundcube.net/trunk@611 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/editor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'roundcubemail/program') diff --git a/roundcubemail/program/js/editor.js b/roundcubemail/program/js/editor.js index 3a191b594..df68cdd41 100644 --- a/roundcubemail/program/js/editor.js +++ b/roundcubemail/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'); } -- cgit v1.2.3