зеркало из https://github.com/mozilla/gecko-dev.git
Fixed case of methods off the nsIWindowMediator interface as they have now changed to be JS compliant.
This commit is contained in:
Родитель
51a3413e5c
Коммит
3f4b2bdf09
|
@ -98,7 +98,7 @@ function openit() {
|
|||
var windowManagerInterface = windowManager.QueryInterface( Components.interfaces.nsIWindowMediator);
|
||||
|
||||
|
||||
var topWindowOfType = windowManagerInterface.GetMostRecentWindow( "navigator:browser" );
|
||||
var topWindowOfType = windowManagerInterface.getMostRecentWindow( "navigator:browser" );
|
||||
if ( topWindowOfType )
|
||||
{
|
||||
var inputfield = document.getElementById(prefID);
|
||||
|
|
|
@ -267,7 +267,7 @@ function SidebarCustomize() {
|
|||
var iwindowManager = Components.interfaces.nsIWindowMediator;
|
||||
var windowManager = cwindowManager.QueryInterface(iwindowManager);
|
||||
|
||||
var customizeWindow = windowManager.GetMostRecentWindow('sidebar:customize');
|
||||
var customizeWindow = windowManager.getMostRecentWindow('sidebar:customize');
|
||||
|
||||
if (customizeWindow) {
|
||||
debug("Reuse existing customize dialog");
|
||||
|
|
Загрузка…
Ссылка в новой задаче