tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (TAP5-2003) DatePicker component fails on the client side under IE
Date Wed, 03 Oct 2012 21:59:08 GMT

    [ https://issues.apache.org/jira/browse/TAP5-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13468892#comment-13468892
] 

Howard M. Lewis Ship edited comment on TAP5-2003 at 10/4/12 8:58 AM:
---------------------------------------------------------------------

prototype.js:

    for (var property in styles) {
      if (property === 'opacity') {
        Element.setOpacity(element, styles[property]);
      } else {
        var value = styles[property];
        if (property === 'float' || property === 'cssFloat') {
          property = Object.isUndefined(elementStyle.styleFloat) ?
           'cssFloat' : 'styleFloat';
        }
        elementStyle[property] = value;  // line 3043
      }
    }
                
      was (Author: hlship):
    prototype.js:

    for (var property in styles) {
      if (property === 'opacity') {
        Element.setOpacity(element, styles[property]);
      } else {
        var value = styles[property];
        if (property === 'float' || property === 'cssFloat') {
          property = Object.isUndefined(elementStyle.styleFloat) ?
           'cssFloat' : 'styleFloat';
        }
        elementStyle[property] = value;  // line 3048
      }
    }
                  
> DatePicker component fails on the client side under IE
> ------------------------------------------------------
>
>                 Key: TAP5-2003
>                 URL: https://issues.apache.org/jira/browse/TAP5-2003
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3.5
>            Reporter: Kevin Lin
>              Labels: ie, javascript
>         Attachments: DatePicker_error.gif
>
>
> After upgrading to 5.3.5, the date picker widget used by DateField component broke in
IE8:
> After opening the widget, it won't dismiss when user clicking any dates/buttons on it.
> From the look of the JavaScript error, the error is thrown from prototype.js. And if
I downgrade Tapestry 5.3.4, the problem is gone.
> I notice a change in T5.3.5, which suggest that the new Prototype library doesn't work
with date picker anymore:
> [TAP5-1989] - Upgrade bundled Prototype to version 1.7.1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message