Fix bug in gpass icon management. Don't call on_blur before unblock forms
This commit is contained in:
parent
a485267da8
commit
96b378695e
|
@ -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});
|
||||
}
|
||||
);
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue
Block a user