зеркало из https://github.com/mozilla/pjs.git
Backing out the patch fro bug 353560 due to bug 356178.
This commit is contained in:
Родитель
28f2ccffe5
Коммит
10276d775a
|
@ -885,12 +885,7 @@ nsUnknownContentTypeDialog.prototype = {
|
|||
|
||||
this.mLauncher.saveToDisk(targetFile, false);
|
||||
#endif
|
||||
// Since saveToDisk may open a file picker and therefore block this routine,
|
||||
// we should only call it once the dialog is closed.
|
||||
var _delayedSaveToDisk = function(aSelf) {
|
||||
aSelf.mLauncher.saveToDisk(null, false);
|
||||
}
|
||||
this.mDialog.setTimeout(_delayedSaveToDisk, 0, this);
|
||||
this.mLauncher.saveToDisk(null, false);
|
||||
}
|
||||
else
|
||||
this.mLauncher.launchWithApplication(null, false);
|
||||
|
|
Загрузка…
Ссылка в новой задаче