diff options
Diffstat (limited to 'keepassxc-browser')
-rwxr-xr-x | keepassxc-browser/manifest.json | 4 | ||||
-rw-r--r-- | keepassxc-browser/options/options.html | 4 | ||||
-rw-r--r-- | keepassxc-browser/options/options.js | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/keepassxc-browser/manifest.json b/keepassxc-browser/manifest.json index cace091..17361f5 100755 --- a/keepassxc-browser/manifest.json +++ b/keepassxc-browser/manifest.json @@ -1,8 +1,8 @@ { "manifest_version": 2, "name": "KeePassXC-Browser", - "version": "1.6.1", - "version_name": "1.6.1", + "version": "1.6.2", + "version_name": "1.6.2", "description": "__MSG_extensionDescription__", "author": "KeePassXC Team", "icons": { diff --git a/keepassxc-browser/options/options.html b/keepassxc-browser/options/options.html index e8bff53..f3d81c5 100644 --- a/keepassxc-browser/options/options.html +++ b/keepassxc-browser/options/options.html @@ -197,8 +197,8 @@ <div class="input-group"> <input class="form-control form-control-sm col-md-8 col-lg-6" type="text" id="defaultGroup" placeholder="KeePassXC-Browser Passwords"> <div class="input-group-append"> - <button class="btn btn-sm btn-primary" type="button"><i class="fa fa-save" aria-hidden="true"></i><span data-i18n="optionsButtonSave"></span></button> - <button class="btn btn-sm btn-danger" type="button"><i class="fa fa-remove" aria-hidden="true"></i><span data-i18n="optionsButtonReset"></span></button> + <button class="btn btn-sm btn-primary" type="button" id="defaultGroupButton"><i class="fa fa-save" aria-hidden="true"></i><span data-i18n="optionsButtonSave"></span></button> + <button class="btn btn-sm btn-danger" type="button" id="defaultGroupButtonReset"><i class="fa fa-remove" aria-hidden="true"></i><span data-i18n="optionsButtonReset"></span></button> </div> <span class="form-text text-muted w-100" data-i18n="optionsDefaultGroupHelpText"></span> </div> diff --git a/keepassxc-browser/options/options.js b/keepassxc-browser/options/options.js index 8a06375..4383d04 100644 --- a/keepassxc-browser/options/options.js +++ b/keepassxc-browser/options/options.js @@ -179,18 +179,18 @@ options.initGeneralSettings = function() { }); }); - $('#defaultGroupButton').click(function() { + $('#defaultGroupButton').click(async function() { const value = $('#defaultGroup').val(); if (value.length > 0) { options.settings['defaultGroup'] = value; - options.saveSettings(); + await options.saveSettingsPromise(); } }); - $('#defaultGroupButtonReset').click(function() { + $('#defaultGroupButtonReset').click(async function() { $('#defaultGroup').val(''); options.settings['defaultGroup'] = ''; - options.saveSettings(); + await options.saveSettingsPromise(); }); let temporarySettings; |