Forum OpenACS Development: Re: HTMLarea and ad_form/form builder

Collapse
Posted by Walter Smith on
Thanks C.R.  That helps a lot, and I would love the patches.

Also, I believe I just resolved the issue with multiple htmlAreas.  I found the fix on the InteractiveTools.com forum.

1) In blank-master.adp, add this line *above* the other htmlArea JavaScript includes:

  <script type="text/javascript" language="JavaScript">_editor_url = "/resources/acs-templating/htmlarea/";</script>

2) Download the latest version of htmlarea.js from SourceForge at  http://cvs.sourceforge.net/viewcvs.py/itools-htmlarea/htmlarea/htmlarea.js  and replace the one that it came with.

That worked for me.

Collapse
Posted by C. R. Oldham on
Ah--very cool.

Was there a reason why you didn't update to the latest CVS of all of HTMLarea?

I'm filing my patches as a bug-tracker item for mailing-lists.  The diff is against the oacs-5-1 tree.  The bug-tracker item is

https://openacs.org/bugtracker/openacs/bug?bug_number=1644

Note I figured most of this out by looking at bug.tcl in the bug-tracker package.