mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
1d2e0e19b4
commit
ae75d6ba92
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user