Fix bug in gpass icon management. Don't call on_blur before unblock forms

This commit is contained in:
Grégory Soutadé 2021-03-02 14:54:32 +01:00
parent a485267da8
commit 96b378695e
2 changed files with 1 additions and 3 deletions

View File

@ -280,7 +280,7 @@ function _query_tabs_is_gpass_enabled(tabs, sendResponse)
is_gpass_enabled(tabs[0].url).then(
function (key_present) {
enabled = (key_present == null);
update_gpass_icon((enabled)?GPASS_ICON.ENABLED:GPASS_ICON.DISABLED, tabs[0].id);
update_gpass_icon((enabled)?GPASS_ICON.NORMAL:GPASS_ICON.DISABLED, tabs[0].id);
sendResponse({"enabled":enabled});
}
);

View File

@ -295,8 +295,6 @@ function unblock_all_forms()
{
debug("unblock all forms");
on_blur(null);
for(var i=0; i<managed_forms.length; i++)
{
var form = managed_forms[i];