зеркало из https://github.com/mozilla/pjs.git
109560 - edit menu in history is broken. r=ben sr=hewitt
This commit is contained in:
Родитель
0d0446b424
Коммит
67580819a3
|
@ -168,8 +168,7 @@ nsHistoryController.prototype =
|
||||||
} else {
|
} else {
|
||||||
stringId = "deleteHostNoSelection";
|
stringId = "deleteHostNoSelection";
|
||||||
}
|
}
|
||||||
text = gHistoryBundle.stringBundle.formatStringFromName(stringId,
|
text = gHistoryBundle.getFormattedString(stringId, [ gLastHostname ]);
|
||||||
[ gLastHostname ], 1);
|
|
||||||
gDeleteByHostname.setAttribute("label", text);
|
gDeleteByHostname.setAttribute("label", text);
|
||||||
break;
|
break;
|
||||||
case "cmd_deleteByDomain":
|
case "cmd_deleteByDomain":
|
||||||
|
@ -179,8 +178,7 @@ nsHistoryController.prototype =
|
||||||
} else {
|
} else {
|
||||||
stringId = "deleteDomainNoSelection";
|
stringId = "deleteDomainNoSelection";
|
||||||
}
|
}
|
||||||
text = gHistoryBundle.stringBundle.formatStringFromName(stringId,
|
text = gHistoryBundle.getFormattedString(stringId, [ gLastDomain ]);
|
||||||
[ gLastDomain ], 1);
|
|
||||||
gDeleteByDomain.setAttribute("label", text);
|
gDeleteByDomain.setAttribute("label", text);
|
||||||
}
|
}
|
||||||
return enabled;
|
return enabled;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче