[
https://issues.apache.org/jira/browse/LUCENE-2461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sami Siren updated LUCENE-2461:
-------------------------------
Attachment: LUCENE-2461.patch
Attached patch modifies the fontsize.js so that is does not trigger the alert
anymore on Chrome.
> Forrest skin resource docs/skin/fontsize.js causes annoying javascript alert
> when embedded docs are viewed locally with Chrome
> ------------------------------------------------------------------------------------------------------------------------------
>
> Key: LUCENE-2461
> URL: https://issues.apache.org/jira/browse/LUCENE-2461
> Project: Lucene - Java
> Issue Type: Bug
> Components: Other
> Affects Versions: 3.0.1
> Environment: linux/Google chrome
> Reporter: Sami Siren
> Priority: Trivial
> Attachments: LUCENE-2461.patch
>
>
> When displaying the documentation from local filesystem (file:// urls) a
> JavaScript alert popup is displayed on every forrest generated page:
> "Error: SECURITY_ERR: DOM Exception 18"
> This seems to be related to Chrome not allowing reading cookies for such urls.
> One could fix this by patching the javascript file (docs/skin/fontsize.js) to
> check for the protocol.
> It does not seem to be currently possible to alter the text size on the skin
> at all? If so then perhaps the whole .js file could be disabled instead?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]