mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 472802 - Can't change focused bookmark property with Enter in Properties dialogue, r=dietrich
This commit is contained in:
parent
99ba3b560e
commit
c84e7b7049
@ -475,6 +475,8 @@ var BookmarkPropertiesPanel = {
|
||||
},
|
||||
|
||||
onDialogAccept: function BPP_onDialogAccept() {
|
||||
// We must blur current focused element to save its changes correctly
|
||||
document.commandDispatcher.focusedElement.blur();
|
||||
// The order here is important! We have to uninit the panel first, otherwise
|
||||
// late changes could force it to commit more transactions.
|
||||
gEditItemOverlay.uninitPanel(true);
|
||||
|
Loading…
Reference in New Issue
Block a user