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

Spark_man’s picture

Issue summary: View changes

Highlighting the specific line throwing the error.

troky’s picture

Status: Active » Needs review

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(',');
        }
      }
troky’s picture

Priority: Major » Normal
Status: Needs review » Fixed

This is fixed already.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Well that didn't work as I expected.