Add a message when password is replaced but not submitted (@_ function)

This commit is contained in:
Grégory Soutadé 2014-08-26 18:56:20 +02:00
parent f8472d7ca4
commit f5a0da3f69
2 changed files with 9 additions and 1 deletions

View File

@ -209,6 +209,14 @@ function ask_server(form, field, logins, domain, wdomain, mkey, salt, submit)
form.removeEventListener("submit", on_sumbit, true); form.removeEventListener("submit", on_sumbit, true);
form.submit(); form.submit();
} }
else
{
notifications.notify({
title: "gPasss",
text: "Password successfully replaced",
data: "Password successfully replaced",
});
}
} }
else else
{ {

View File

@ -5,7 +5,7 @@
"description": "gPass : global password manager", "description": "gPass : global password manager",
"author": "Grégory Soutadé", "author": "Grégory Soutadé",
"license": "GNU GPL v3", "license": "GNU GPL v3",
"version": "0.5", "version": "0.5.1",
"preferences": [ "preferences": [
{ {
"name": "account_url", "name": "account_url",