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
parent 99ba3b560e
commit c84e7b7049

View File

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