ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christoph Neuroth (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OFBIZ-4647) Date Picker widget in for breaks Internet Explorer 7
Date Thu, 05 Jan 2012 15:31:39 GMT

     [ https://issues.apache.org/jira/browse/OFBIZ-4647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Christoph Neuroth updated OFBIZ-4647:
-------------------------------------

    Attachment:     (was: OFBIZ-4647.patch)
    
> 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: SVN 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message