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) {
|
let onFileSelected = function(file) {
|
||||||
if (!file) {
|
if (!file) {
|
||||||
this.emit("error", LOAD_ERROR);
|
// nothing selected
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
NetUtil.asyncFetch(file, (stream, status) => {
|
NetUtil.asyncFetch(file, (stream, status) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user