Closed (fixed)
Project:
Question/Answer
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Sep 2012 at 23:50 UTC
Updated:
11 Oct 2012 at 18:51 UTC
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.
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
Comment #1
jcisio commentedThanks for the report. I fixed it with http://drupalcode.org/project/question_answer.git/commit/11f4850
Comment #2
xeraseth commentedfix verified, thank you for the quick response!