[daisy] JS errors when trying to add collections to a document
Bruno Dumon
bruno at outerthought.org
Wed Nov 22 03:15:17 CST 2006
On Mon, 2006-11-20 at 16:36 +1100, Nicholas dos Remedios wrote:
> When trying to add a collection to a document, under the 'Misc' tab, I
> get the following error in the error console of FF:
>
> Error: from.options has no properties
> Source File: http://localhost:8080/daisy/resources/cocoon/forms/mattkruse-lib/selectbox.js
> Line: 156
>
> Clicking this error displays the JS file with the cursor on the offending line:
>
> > for (var i=0; i<from.options.length; i++) {
>
> The selected collection is not added to the right side and none of the
> tabs along the top are clickable after this (Parts, Fields, etc).
>
> We have just finished doing a 1.41 to 1.51 upgrade (big job redoing
> all ours skins) and everything appears fine except for this problem.
> We have made changes to layout.xsl for our custom skin, as well as
> document-to-html.xsl and navigation.xsl but I can't see how any of our
> changes could be causing this error (yes famous last words).
I just tried this on a 1.5.0 install and there it seems to work. Anyone
else seeing this problem, or anyone who can give this a try on 1.5.1?
As for your skin changes etc, pay especially attention if you're doing
anything javascript related and see if those can be the cause of the
problem.
>
> On an unrelated matter, is it possible to put htmlcleaner.xml into the
> daisywikidata directory or do I have to edit the the "webapp" version?
Nope, since this is currently not an official customisation point. We'll
get there eventually.
--
Bruno Dumon http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno at outerthought.org bruno at apache.org
More information about the daisy
mailing list