Bug 661289 - Scratchpad Save File prompts to overwrite existing files twice.; r=rcampbell

This commit is contained in:
Pavel Cvrcek 2011-08-11 11:12:24 -03:00
Родитель b485721c95
Коммит 722c8c52fb
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -540,7 +540,7 @@ var Scratchpad = {
fp.defaultString = "scratchpad.js";
if (fp.show() != Ci.nsIFilePicker.returnCancel) {
document.title = this.filename = fp.file.path;
this.exportToFile(fp.file);
this.exportToFile(fp.file, true);
}
},