Posted by Spark_man on August 14, 2012 at 10:09pm
4 followers
Jump to:
| Project: | Advanced Forum |
| Version: | 7.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
The advanced_forum.js script is throwing and "Object doesn't support this property or method" (line 14, character 11). Here is the offending code:
if (pages) {
for (x in pages) {
tmp = pages[x].split('=');
Drupal.advanced_forum.collapsed_page[tmp[0]] = tmp[1].split(',');
}
}I'm no javascript monkey, but if I skip over this if statement in the debugger, the page continues to load correctly ... and I know that can't be a good thing.
I am running 7.x-2.x-dev from Aug, 12, 2012, if that helps.
Help!!! (and thanks in advance)
Comments
#1
try to replace above code with:
if (pages) {for (var x = 0; x < pages.length; x++) {
var tmp = pages[x].split('=');
Drupal.advanced_forum.collapsed_page[tmp[0]] = tmp[1].split(',');
}
}
#2
This is fixed already.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.