mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-23 13:04:28 +00:00
fixing bug 64249 - remove the '(D)' from "Edit | Unsubscribe(D)" and "Edit | Cancel Message(D)"
r=bhuvan sr=sspitzer
This commit is contained in:
parent
b99bf67adc
commit
187a938b5c
@ -99,6 +99,17 @@ function goSetMenuValue(command, labelAttribute)
|
||||
}
|
||||
}
|
||||
|
||||
function goSetAccessKey(command, valueAttribute)
|
||||
{
|
||||
var commandNode = top.document.getElementById(command);
|
||||
if ( commandNode )
|
||||
{
|
||||
var value = commandNode.getAttribute(valueAttribute);
|
||||
if ( value )
|
||||
commandNode.setAttribute('accesskey', value);
|
||||
}
|
||||
}
|
||||
|
||||
// this function is used to inform all the controllers attached to a node that an event has occurred
|
||||
// (e.g. the tree controllers need to be informed of blur events so that they can change some of the
|
||||
// menu items back to their default values)
|
||||
|
Loading…
x
Reference in New Issue
Block a user