зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1036044 - Convert Applications pane dialogs to be in-content. r=MattN
This commit is contained in:
Родитель
35873cd632
Коммит
282c47c2c2
|
@ -1693,10 +1693,8 @@ var gApplicationsPane = {
|
|||
var typeItem = this._list.selectedItem;
|
||||
var handlerInfo = this._handledTypes[typeItem.type];
|
||||
|
||||
openDialog("chrome://browser/content/preferences/applicationManager.xul",
|
||||
"",
|
||||
"modal,centerscreen,resizable=no",
|
||||
handlerInfo);
|
||||
gSubDialog.open("chrome://browser/content/preferences/applicationManager.xul",
|
||||
"resizable=no", handlerInfo);
|
||||
|
||||
// Rebuild the actions menu so that we revert to the previous selection,
|
||||
// or "Always ask" if the previous default application has been removed
|
||||
|
@ -1757,9 +1755,8 @@ var gApplicationsPane = {
|
|||
params.filename = null;
|
||||
params.handlerApp = null;
|
||||
|
||||
window.openDialog("chrome://global/content/appPicker.xul", null,
|
||||
"chrome,modal,centerscreen,titlebar,dialog=yes",
|
||||
params);
|
||||
gSubDialog.open("chrome://global/content/appPicker.xul",
|
||||
null, params);
|
||||
|
||||
if (this.isValidHandlerApp(params.handlerApp)) {
|
||||
handlerApp = params.handlerApp;
|
||||
|
|
Загрузка…
Ссылка в новой задаче