google-code-export / feed-on-feeds

Automatically exported from code.google.com/p/feed-on-feeds
GNU General Public License v2.0
1 stars 0 forks source link

'Show/Hide all' javascript error #68

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. log in
2. open the feed view
3. try to "Hide all" or "Show all" items

What is the expected output? What do you see instead?
I expect that the item text should be hidden/shown. But nothing happens.

A JS error is thrown:
items.each is not a function
https://feeds.tricode.de/fof.js
Line 607, Line 613

What version of the product are you using? On what operating system?
fof 0.5, Firefox 3.6.8

Please provide any additional information below.

Original issue reported on code.google.com by maluslu...@gmail.com on 9 Sep 2010 at 11:29

GoogleCodeExporter commented 9 years ago
Solution:

replace the lines 607 and 613
items = document.getElementsByClassName("item", "items");
by
items = $$("div.item");
since getElementsByClassName is deprecated.

Original comment by maluslu...@gmail.com on 9 Sep 2010 at 11:48