Last Comment Bug 215080 - DOM Ref: finish window.updateCommands
: DOM Ref: finish window.updateCommands
Product: Documentation
Classification: Graveyard
Component: Web Developer (show other bugs)
: unspecified
: All All
-- minor (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
: Nobody; OK to take it and work on it
Depends on:
Blocks: 93108
  Show dependency treegraph
Reported: 2003-08-04 17:50 PDT by Eddie White
Modified: 2005-10-17 00:57 PDT (History)
0 users
See Also:
QA Whiteboard:
Iteration: ---
Points: ---

My additions to the window.updateCommands page of the Gecko DOM Reference. (11.89 KB, text/html)
2003-08-04 17:54 PDT, Eddie White
no flags Details

Description User image Eddie White 2003-08-04 17:50:17 PDT
User-Agent:       Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)

 You are making the following changes:

Index: mozilla-org/html/docs/dom/domref/dom_window_ref124.html
RCS file: /cvsroot/mozilla-org/html/docs/dom/domref/dom_window_ref124.html,v
retrieving revision 1.33
diff -u -r1.33 dom_window_ref124.html
--- mozilla-org/html/docs/dom/domref/dom_window_ref124.html	11 Dec 2002
21:52:57 -0000	1.33
+++ mozilla-org/html/docs/dom/domref/dom_window_ref124.html	4 Aug 2003 23:35:58
@@ -36,19 +36,19 @@
   <a name="1022059"> </a>window.updateCommands()
 <p class="Body">
-  <a name="1002981"> </a>Brief description.
+  <a name="1002981"> </a>Updates the state of commands of the current chrome
window (UI), enabling or disabling items (setting or clearing the
&quot;disabled&quot; attribute on the command node as appropriate), or ensuring
that the command state reflects the state of the selection by setting current
state information in the &quot;state&quot; attribute of the XUL command nodes.
 <h4 class="Heading3">
   <a name="1002982"> </a>Syntax
 <pre  class="Preformatted">
-<font face="courier" color="darkgreen">syntax code</font>
+<font face="courier" color="darkgreen">window.updateCommands("sCommandName")</font>
 <a name="1002983"> </a>
 <h4 class="Heading3">
   <a name="1002984"> </a>Parameters
-<p class="Indented1"> <a name="1002985"> </a>blah is a blah.</p>
+<p class="Indented1"> <a name="1002985"> </a><span style="font-style:
italic;">sCommandName</span> is a particular string which describes what kind of
update event this is (e.g. whether we are in bold right now).</span></p>
 <h4 class="Heading3">
   <a name="1002986"> </a>Example
@@ -74,7 +74,7 @@
   <a name="1002991"> </a>Notes
 <p class="Body">
-  <a name="1002992"> </a>Addtional notes.
+  <a name="1002992"> </a>Additional notes.
 <h4 class="Heading3">
   <a name="1002993"> </a>Specification

Reproducible: Didn't try

Steps to Reproduce:

Actual Results:  

Expected Results:  
Looking forward to having a completed reference. It will be very helpful and
very nice to have.

Will be able to furnish code examples soon...
Comment 1 User image Eddie White 2003-08-04 17:54:18 PDT
Created attachment 129198 [details]
My additions to the window.updateCommands page of the Gecko DOM Reference.
Comment 2 User image Daniel Wang 2003-10-30 10:37:05 PST
-> nobody

Note You need to log in before you can comment on or make changes to this bug.