зеркало из https://github.com/mozilla/pjs.git
109560 - edit menu in history is broken. r=ben sr=hewitt
This commit is contained in:
Родитель
3cddf87698
Коммит
b53ccc3236
|
@ -168,8 +168,7 @@ nsHistoryController.prototype =
|
|||
} else {
|
||||
stringId = "deleteHostNoSelection";
|
||||
}
|
||||
text = gHistoryBundle.stringBundle.formatStringFromName(stringId,
|
||||
[ gLastHostname ], 1);
|
||||
text = gHistoryBundle.getFormattedString(stringId, [ gLastHostname ]);
|
||||
gDeleteByHostname.setAttribute("label", text);
|
||||
break;
|
||||
case "cmd_deleteByDomain":
|
||||
|
@ -179,8 +178,7 @@ nsHistoryController.prototype =
|
|||
} else {
|
||||
stringId = "deleteDomainNoSelection";
|
||||
}
|
||||
text = gHistoryBundle.stringBundle.formatStringFromName(stringId,
|
||||
[ gLastDomain ], 1);
|
||||
text = gHistoryBundle.getFormattedString(stringId, [ gLastDomain ]);
|
||||
gDeleteByDomain.setAttribute("label", text);
|
||||
}
|
||||
return enabled;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
Blake Ross <BlakeR1234@aol.com>
|
||||
Blake Ross <blaker@netscape.com>
|
||||
|
||||
-->
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
context="historyMenu"
|
||||
datasources="rdf:history" ref="NC:HistoryByDate" flags="dont-build-content"
|
||||
onkeypress="if (event.keyCode == 13) OpenURL(event.ctrlKey || event.metaKey);"
|
||||
onselect="this.parentNode.outlinerBoxObject.view.selectionChanged();
|
||||
onselect="this.outlinerBoxObject.view.selectionChanged();
|
||||
historyOnSelect();"
|
||||
ondraggesture="if (event.originalTarget.localName == 'outlinerchildren') nsDragAndDrop.startDrag(event, historyDNDObserver);"
|
||||
ondblclick="if (event.button == 0) OpenURL(event.ctrlKey || event.metaKey);">
|
||||
|
|
Загрузка…
Ссылка в новой задаче