Issue #861 - The bookmark properties window should focus on the Name Picker text box on init

This commit is contained in:
NTD 2018-11-14 04:42:22 -05:00 committed by Roy Tam
commit 4b184ba757

View file

@ -382,6 +382,11 @@ var BookmarkPropertiesPanel = {
.addEventListener("input", this, false);
}
}
// Ensure the Name Picker textbox is focused on load
var namePickerElem = document.getElementById('editBMPanel_namePicker');
namePickerElem.focus();
namePickerElem.select();
}),
// nsIDOMEventListener