[gnome-maps] osmAccountDialog: Fix typo in cancel logic
- From: Jonas Danielsson <jonasdn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] osmAccountDialog: Fix typo in cancel logic
- Date: Mon, 4 Jan 2016 08:48:21 +0000 (UTC)
commit ca7dc73cd99efa0d63157e4ed5631e191d9db92a
Author: Alex Anthony <alex anthony28991 gmail com>
Date: Sun Jan 3 18:32:07 2016 +0000
osmAccountDialog: Fix typo in cancel logic
The response of Account dialog isn't being handled correctly.
https://bugzilla.gnome.org/show_bug.cgi?id=760100
src/placeBubble.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/placeBubble.js b/src/placeBubble.js
index c22a125..be1c40c 100644
--- a/src/placeBubble.js
+++ b/src/placeBubble.js
@@ -166,7 +166,7 @@ const PlaceBubble = new Lang.Class({
/* if the user is not alread signed in, show the account dialog */
if (!osmEdit.isSignedIn) {
let response = osmEdit.showAccountDialog(this.get_toplevel(), true);
- if (!response === OSMAccountDialog.Response.SIGNED_IN)
+ if (response !== OSMAccountDialog.Response.SIGNED_IN)
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]