[Webkit-unassigned] [Bug 8872] Ajax list manipulator broken

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 4 06:54:37 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=8872





------- Comment #4 from mbritto at pleyo.com  2007-06-04 06:54 PDT -------
(In reply to comment #3)
> (In reply to comment #0)
> > 1. go to the url above
> > 2. try and select a line in the table
> > EXPECT: clicking on a line selects it
> > OBTAINED: nothing
> > 
> > 3. open the page in Firefox: runs as expected.
> > 
> 
> The problem seems to come from the second stylesheet (stylesheet[1]) declared
> at line 7 :
> <style type="text/css">
>         body { background: threedface; }
> </style>
> 
>  Then, when it arrives to this line :
>       if (document.styleSheets[1].href.indexOf('columnlist.css') == -1) {
> continue; } 
> it can't find any .href.indexOf('columnlist.css') for this style and return an
> error which stop the script.
> 

I replaced, in the script the lines 269 and 1190 by :
if (document.styleSheets[n].href != null &&
document.styleSheets[n].href.indexOf('columnlist.css') == -1) { continue; }

Everything seems to work now.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list