[richfaces-issues] [JBoss JIRA] (RF-12330) Drag while selecting row in rich:extendedDataTable causes JS error

Brian Leathem (JIRA) jira-events at lists.jboss.org
Thu Aug 16 14:49:14 EDT 2012


     [ https://issues.jboss.org/browse/RF-12330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Leathem updated RF-12330:
-------------------------------

    Fix Version/s: 4-Tracking
      Component/s: component-drag/drop

    
> Drag while selecting row in rich:extendedDataTable causes JS error
> ------------------------------------------------------------------
>
>                 Key: RF-12330
>                 URL: https://issues.jboss.org/browse/RF-12330
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-drag/drop, component-tables
>    Affects Versions: 4.2.2.Final
>         Environment: Windows 7, IE9
>            Reporter: Tristan Dyer
>              Labels: richfaces
>             Fix For: 4-Tracking
>
>
> If you go to http://showcase.richfaces.org/richfaces/component-sample.jsf?demo=extendedDataTable&sample=exTableSelection&skin=blueSky in IE9 and click down on 1 row and release on another a JS error occurs in :
> richfaces.ui.ExtendedDataTable.selectRows: function(range) {
>                 if (typeof range == "number") {
>                     range = [range, range];
>                 }
>                 var changed;
>                 var i = 0;
>                 for (; i < range[0]; i++) {
>                     if (this.ranges.contains(i)) {
>                         this.deselectRow(i);
>                         changed = true;
>                     }
>                 }
> At the for loop while trying to access range[0].
> The IE JS Console Log is 
> SCRIPT5007: Unable to get value of the property '0': object is null or undefined 
> packed.js, line 10109 character 24

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list