[
https://issues.apache.org/jira/browse/OFBIZ-4647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sharan Foga updated OFBIZ-4647:
-------------------------------
Sprint: Bug Crush Event - 21/2/2015
> Date Picker widget in for breaks Internet Explorer 7
> ----------------------------------------------------
>
> Key: OFBIZ-4647
> URL: https://issues.apache.org/jira/browse/OFBIZ-4647
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Trunk
> Reporter: Christoph Neuroth
> Labels: patch
> Attachments: OFBIZ-4647.patch
>
>
> When using a date field like in the code sample below, the generated
> JavaScript causes IE7 to stop loading the page with the infamous "Operation
> aborted" error and then redirect to an error page, making the screen
> unusable. For background information on the issue, see [MS Knowledge Base
> 927917|http://support.microsoft.com/kb/927917/en-us]. This problem *probably*
> occurs with other js code blocks as well, however we only fixed this one for
> now because we urgently needed it for a client. This can be circumvented by
> moving the code in question into a function and binding that to the jQuery
> document.ready even as I did in the patch.
> Example that breaks IE7 on current trunk:
> {code}
> <field id-name="fromDate" name="fromDate" tooltip="00:00"><date-time
> type="date"/></field>
> {code}
> Note: In the patch, I also added two missing semicolons joined some lines so
> that there is no newlines before that semicolon. While those did not cause
> errors here, I really doubt if generating JavaScript code using FreeMarker is
> that great an idae.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)