Closed
Bug 183569
Opened 22 years ago
Closed 21 years ago
every time I type a char in a message compose body, I see "no update for command: cmd_smiley" on the console
Categories
(SeaMonkey :: Composer, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.3beta
People
(Reporter: sspitzer, Assigned: cmanske)
References
()
Details
Attachments
(1 file, 1 obsolete file)
564 bytes,
patch
|
glazou
:
review+
|
Details | Diff | Splinter Review |
every time I type a char in a message compose body, I see:
"no update for command: cmd_smiley" on the console
Assignee | ||
Comment 1•22 years ago
|
||
I know about this Composer problem.
Assignee: sspitzer → cmanske
Component: Composition → Editor: Composer
Product: MailNews → Browser
Target Milestone: --- → mozilla1.3beta
Comment 2•21 years ago
|
||
*** Bug 189200 has been marked as a duplicate of this bug. ***
Comment 3•21 years ago
|
||
Updated•21 years ago
|
Attachment #138738 -
Flags: superreview?(mscott)
Attachment #138738 -
Flags: review?(daniel)
Comment 4•21 years ago
|
||
The CVS blame for this diff for the fix for this points at bug 180303 but that
bug doesn't have a relevant patch... I guess it got checked in by mistake :-)
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 5•21 years ago
|
||
Reopening,
http://lxr.mozilla.org/mozilla/source/editor/ui/composer/content/ComposerCommands.js#304
will still cause the console message to be dump'ed.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 6•21 years ago
|
||
But nobody should be calling goUpdateCommandState('cmd_smiley') ...
Comment 7•21 years ago
|
||
Comment on attachment 138738 [details] [diff] [review]
Add a cmd_smiley case
OK, so after you insert a smiley Composer now thinks that smileys have state
(which they don't, it's just a hack) but you should not poke the state...
Comment 8•21 years ago
|
||
goUpdateCommandState('cmd_smiley') is still called
321 if (commandNode.hasAttribute("state"))
322 goUpdateCommandState(commandID);
because doStatefulCommand() adds the state attrib to the command.
412 function doStatefulCommand(commandID, newState)
413 {
414 var commandNode = document.getElementById(commandID);
415 if (commandNode)
416 commandNode.setAttribute("state", newState);
But doStatefulCommand() already calls pokeMultiStateUI(), so the case should be
moved down a few lines.
Updated•21 years ago
|
Attachment #138738 -
Attachment is obsolete: true
Comment 9•21 years ago
|
||
Comment on attachment 138983 [details] [diff] [review]
Add a cmd_smiley case (in the right place)
Looks good to me, but I'm rebuilding right now...
Updated•21 years ago
|
Attachment #138738 -
Flags: superreview?(mscott) → superreview+
Comment on attachment 138983 [details] [diff] [review]
Add a cmd_smiley case (in the right place)
r=daniel@glazman.org
Attachment #138983 -
Flags: review+
Comment 11•21 years ago
|
||
Fix checked in.
Status: REOPENED → RESOLVED
Closed: 21 years ago → 21 years ago
Resolution: --- → FIXED
Updated•21 years ago
|
Attachment #138738 -
Flags: review?(daniel)
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•