« XUL Reference home
oncommandupdate
Type: script code
This event occurs when a command update occurs. You would use this to update the disabled status of items.