This project is read-only.
1

Resolved

FAQ in DNN 7.02.00-1 won't display answers in Chrome, but works in IE & Firefox

description

Chrome is throwing the following error message:

Uncaught TypeError: Cannot read property 'value' of null

It's blowing up in the SetAnswerLabel function.

This is happening in both 5.01.01 and source.

comments

EPT wrote Feb 20, 2014 at 8:48 AM

I am working on an new reelase that will fix this error. It is a combination with " (quotes) in the templates and the generation of the JavaScript call that is generated in the C# source to display the asnwer.The source changes for this (AjaxFaq.js and FAQ.ascx.cs) are already checked-in here.

jonelybonely wrote May 20, 2014 at 3:00 AM

Checked out the latest (73832), but I'm still getting the same problem.

With Firefox, the response when getting the answer comes back as JSON. With Chrome, I get HTML - JSON wrapped in a textarea, etc. But I may be misunderstanding what's going on here.

{"d":"\u003cdiv class=\"Normal\" style=\"width: 100%; margin-left: 12pt;padding-top:6px;\"\u003e\n\u003cdiv style=\"margin-right: 12pt;\"\u003e\u003cp style=\"text-align: left;\"\u003e\u003cspan\u003eThe Casualty Assistance Office.\u003c/span\u003e\u003c/p\u003e\u003c/div\u003e\n \u003c/div\u003e"}