зеркало из https://github.com/mozilla/gecko-dev.git
bug 567587 - consistent IDs for view(Partial)Source, kill unused page editing function, r=gavin
This commit is contained in:
Родитель
63722ce0b0
Коммит
bebc96132a
|
@ -123,7 +123,7 @@
|
||||||
<toolbox id="viewSource-toolbox">
|
<toolbox id="viewSource-toolbox">
|
||||||
<menubar id="viewSource-main-menubar">
|
<menubar id="viewSource-main-menubar">
|
||||||
|
|
||||||
<menu id="file_menu" label="&fileMenu.label;" accesskey="&fileMenu.accesskey;">
|
<menu id="menu_file" label="&fileMenu.label;" accesskey="&fileMenu.accesskey;">
|
||||||
<menupopup id="filemenu-popup">
|
<menupopup id="filemenu-popup">
|
||||||
<menuitem key="key_savePage" command="cmd_savePage" id="menu_savePage"
|
<menuitem key="key_savePage" command="cmd_savePage" id="menu_savePage"
|
||||||
label="&savePageCmd.label;" accesskey="&savePageCmd.accesskey;"/>
|
label="&savePageCmd.label;" accesskey="&savePageCmd.accesskey;"/>
|
||||||
|
|
|
@ -375,12 +375,6 @@ function ViewSourceReload()
|
||||||
Ci.nsIWebNavigation.LOAD_FLAGS_BYPASS_CACHE);
|
Ci.nsIWebNavigation.LOAD_FLAGS_BYPASS_CACHE);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Strips the |view-source:| for editPage()
|
|
||||||
function ViewSourceEditPage()
|
|
||||||
{
|
|
||||||
editPage(window.content.location.href.substring(12), window, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Strips the |view-source:| for saveURL()
|
// Strips the |view-source:| for saveURL()
|
||||||
function ViewSourceSavePage()
|
function ViewSourceSavePage()
|
||||||
{
|
{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче