Closed
Bug 118594
Opened 23 years ago
Closed 23 years ago
JS error: redeclaration of const MODE_COMPLETE (contentAreaUtils.js)
Categories
(SeaMonkey :: UI Design, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla0.9.8
People
(Reporter: Brade, Assigned: Brade)
Details
I see this JS error in my console today on my Mac debug build when I opened a Composer window: JavaScript error: chrome://communicator/content/contentAreaUtils.js line 1: redeclaration of const MODE_COMPLETE
Comment 1•23 years ago
|
||
to reproduce: - start compose - press "new" until you see the error in the javascript console
Comment 3•23 years ago
|
||
It's only declared once in the js file, this is an editor specific chrome issue. I suspect removing the include of contentAreaUtils.js from editor.xul will fix the problem (sidebarOverlay.xul pulls in contentAreaContextOverlay.xul which pulls in contentAreaUtils.js)
Assignee: ben → brade
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.8
Assignee | ||
Comment 4•23 years ago
|
||
Here is the patch that Ben gave sr= to: Index: ui/composer/content/editor.xul =================================================================== RCS file: /cvsroot/mozilla/editor/ui/composer/content/editor.xul,v retrieving revision 1.122 diff -u -2 -r1.122 editor.xul --- ui/composer/content/editor.xul 9 Jan 2002 13:51:18 -0000 1.122 +++ ui/composer/content/editor.xul 14 Jan 2002 22:40:15 -0000 @@ -67,5 +67,4 @@ <script type="application/x-javascript" src="chrome://editor/content/EditorContextMenu.js"/> <script type="application/x-javascript" src="chrome://global/content/strres.js"/> - <script type="application/x-javascript" src="chrome://communicator/content/contentAreaUtils.js"/> <script type="application/x-javascript" src="chrome://communicator/content/contentAreaDD.js"/> <script type="application/x-javascript" src="chrome://communicator/content/contentAreaClick.js"/>
Assignee | ||
Comment 6•23 years ago
|
||
fix checked in
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•23 years ago
|
QA Contact: sairuh → sujay
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•