Bug 472802 - Can't change focused bookmark property with Enter in Properties dialogue, r=dietrich

This commit is contained in:
Marco Bonardo 2009-01-13 11:48:26 +01:00
Родитель 60717f8c85
Коммит 3b4ead551b
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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);