From 8094288d237a2503de6f97956b5558b28c4db56b Mon Sep 17 00:00:00 2001
From: svncommit <devs@roundcube.net>
Date: Fri, 08 Jun 2007 19:47:57 -0400
Subject: [PATCH] fixed html2text in editor

---
 program/js/editor.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/program/js/editor.js b/program/js/editor.js
index 3a191b5..df68cdd 100644
--- a/program/js/editor.js
+++ b/program/js/editor.js
@@ -99,7 +99,8 @@
 
   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');
   }
 

--
Gitblit v1.9.1