зеркало из https://github.com/mozilla/gecko-dev.git
Bug 281724 Erreur : isDocumentFrame is not defined
p=f.qu@laposte.net r=mconnor
This commit is contained in:
Родитель
a146e1d0b7
Коммит
deb405feb1
|
@ -143,7 +143,7 @@ function loadEventHandlers(event)
|
|||
function getContentAreaFrameCount()
|
||||
{
|
||||
var saveFrameItem = document.getElementById("menu_saveFrame");
|
||||
if (!content || !content.frames.length || !isDocumentFrame(document.commandDispatcher.focusedWindow))
|
||||
if (!content || !content.frames.length || !isContentFrame(document.commandDispatcher.focusedWindow))
|
||||
saveFrameItem.setAttribute("hidden", "true");
|
||||
else
|
||||
saveFrameItem.removeAttribute("hidden");
|
||||
|
|
Загрузка…
Ссылка в новой задаче