Problem/Motivation

When an anonymous user is using the site they get the following Javascript error.

Uncaught TypeError: Cannot read property 'prototype' of undefined

In reference to line 4 of question_answer.js

This module needs /misc/ajax.js to be loaded for it to work.

Proposed resolution

Right now I am just having my html.tpl.php loading the ajax.js separately. I am unsure how to have a module load a file that is in core.

Comments

jcisio’s picture

Status: Active » Fixed
xeraseth’s picture

fix verified, thank you for the quick response!

Status: Fixed » Closed (fixed)

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