зеркало из https://github.com/mozilla/pjs.git
[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:
Родитель
786e7bcaa5
Коммит
62a05e6540
|
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче