зеркало из https://github.com/mozilla/gecko-dev.git
Bug #14999; removed use of toolkit app core; rev=rgoodger@ihug.co.nz
This commit is contained in:
Родитель
d1e36c3edc
Коммит
59342552a4
|
@ -566,14 +566,5 @@ function doContextCmd(cmdName)
|
|||
// put it back there (eventually).
|
||||
function toEditor(url)
|
||||
{
|
||||
var toolkitCore = XPAppCoresManager.Find("ToolkitCore");
|
||||
if (!toolkitCore) {
|
||||
toolkitCore = new ToolkitCore();
|
||||
if (toolkitCore) {
|
||||
toolkitCore.Init("ToolkitCore");
|
||||
}
|
||||
}
|
||||
if (toolkitCore) {
|
||||
toolkitCore.ShowWindowWithArgs("chrome://editor/content/EditorAppShell.xul",window,url);
|
||||
}
|
||||
window.openDialog( "chrome://editor/content/EditorAppShell.xul", "_blank", "chrome,dialog=no,all", url );
|
||||
}
|
Загрузка…
Ссылка в новой задаче