[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:
ben%netscape.com 2001-05-23 04:53:17 +00:00
parent f53227a108
commit 21737c4384

View File

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