зеркало из https://github.com/mozilla/gecko-dev.git
Bug 472802 - Can't change focused bookmark property with Enter in Properties dialogue, r=dietrich
This commit is contained in:
Родитель
60717f8c85
Коммит
3b4ead551b
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче