Bugs item #1086227, was opened at 2004-12-15 19:54
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=562402&aid=1086227&group_id=81260
Category: Interface
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Greg Tassone (fcgreg)
Assigned to: Nobody/Anonymous (nobody)
Summary: JavaScript error in threads forms when invoking Spell Check
Initial Comment:
As of the most recent "release" version of PHPWebSite
and the Bulletin Board module (version detail below),
there is a JavaScript error when invoking the Spell
Checker on forum threads. Running the function causes
the following error:
element has no properties
Line: 91
Please note that Internet Explorer may partially hide
this error from the UI. I suggest using a real browser
for testing this, like Mozilla.
I put this page into a JavaScript debugger, and the
error is being caused because the Text Area
"Message_body" does not have an "ID" element in the tag
-- it only has a "NAME" element. The JavaScript
function for the Spell Checker (in all of PHPWebSite)
uses the "getElementById()" function in JavaScript.
Since no ID element is defined, the error is caused.
I did further testing and noticed that the Spell
Checker seems to work fine in other modules (like the
Announcements mod). The Bulletin Board system is the
only one affected that I've found.
Since the Bulletin Board module uses the EZForm module
in the core of PHPWebSite, I almost posted the bug in
their system. However, since only the Bulletin Board
seems to have the problem in my testing, I decided to
post this here.
I did a quick analysis of the EZForm module and
couldn't find an obvious bug. However, I haven't
thoroughly researched how this module functions, but
the ID obviously isn't getting set correctly.
Let me know if you need more info. Thanks!
<b>Version information:</b>
PHPWebSite: 0.10 (normal "release" version)
PHPWSBB: 1.0
PHP: 4.3.9
DB: MySQL
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=562402&aid=1086227&group_id=81260
|