Forums / Developer / XMLArea extension development / Comment42034
liu spider
Sunday 06 March 2005 3:51:53 pm
I find the problem which causing the <> button stop working: another virtual host issue.
if I change:398 line of
xmlhttp.open("POST", _editor_indexfile + "/xmlarea/xmlhttp/"+mode, true);
to
xmlhttp.open("POST", "/xmlarea/xmlhttp/"+mode, true);
it works fine. (In virtual host setup, _editor_indexfile = "/")
Of course, after this modification, non-virtual host users can not use it. I think, maybe a dedicated path_checking routine is needed in javascript to auto detect what the path should be.
Thanks.
http://liucougar.scim-im.org SCIM Input Method Platform http://scim.sf.net SJSD Online Editor http://sf.net/projects/sjsd