mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
[Part of fixes for 77125 and 81767 - disable inline editing in bookmarks]
Make Bookmark Properties dialog focus the name textfield when it is displayed. Allows us to temporarily map Bookmark rename operations to a call to display this window. r=pchen, sr=blake
This commit is contained in:
parent
f53227a108
commit
21737c4384
@ -179,7 +179,9 @@ function Init()
|
||||
dayRangeChange(document.getElementById("dayRange"));
|
||||
|
||||
// set initial focus
|
||||
document.getElementById("name").focus();
|
||||
var name = document.getElementById("name");
|
||||
name.focus();
|
||||
name.select();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user