gecko-dev/browser/base/content/browser-charsetmenu.inc

20 lines
648 B
PHP

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
<menu id="charsetMenu"
label="&charsetMenu2.label;"
#ifndef OMIT_ACCESSKEYS
accesskey="&charsetMenu2.accesskey;"
#endif
oncommand="BrowserSetForcedCharacterSet(event.target.getAttribute('charset'));"
#ifdef OMIT_ACCESSKEYS
onpopupshowing="CharsetMenu.build(event.target, false);"
#else
onpopupshowing="CharsetMenu.build(event.target);"
#endif
onpopupshown="UpdateCurrentCharset(this);">
<menupopup>
</menupopup>
</menu>