From f5a0da3f69afb5c49ad24a34171f7db0524288e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Tue, 26 Aug 2014 18:56:20 +0200 Subject: [PATCH] Add a message when password is replaced but not submitted (@_ function) --- firefox_addon/lib/main.js | 8 ++++++++ firefox_addon/package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/firefox_addon/lib/main.js b/firefox_addon/lib/main.js index 4d51f33..25e6651 100644 --- a/firefox_addon/lib/main.js +++ b/firefox_addon/lib/main.js @@ -209,6 +209,14 @@ function ask_server(form, field, logins, domain, wdomain, mkey, salt, submit) form.removeEventListener("submit", on_sumbit, true); form.submit(); } + else + { + notifications.notify({ + title: "gPasss", + text: "Password successfully replaced", + data: "Password successfully replaced", + }); + } } else { diff --git a/firefox_addon/package.json b/firefox_addon/package.json index b289c75..21c7a7f 100644 --- a/firefox_addon/package.json +++ b/firefox_addon/package.json @@ -5,7 +5,7 @@ "description": "gPass : global password manager", "author": "Grégory Soutadé", "license": "GNU GPL v3", - "version": "0.5", + "version": "0.5.1", "preferences": [ { "name": "account_url",