зеркало из https://github.com/mozilla/gecko-dev.git
Bug 953184 - Do not show an error if user cancels the file chooser dialog when importing a CSS file in Devtools Style Editor. r=harth
This commit is contained in:
Родитель
1299ab4f19
Коммит
f99f165062
|
@ -238,7 +238,7 @@ StyleEditorUI.prototype = {
|
|||
{
|
||||
let onFileSelected = function(file) {
|
||||
if (!file) {
|
||||
this.emit("error", LOAD_ERROR);
|
||||
// nothing selected
|
||||
return;
|
||||
}
|
||||
NetUtil.asyncFetch(file, (stream, status) => {
|
||||
|
|
Загрузка…
Ссылка в новой задаче