Auto focus URL field. see #11420

git-svn-id: http://svn.automattic.com/wordpress/trunk@16390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-11-15 18:40:34 +00:00
parent 29203134cb
commit ee8966d821
1 changed files with 3 additions and 1 deletions

View File

@ -97,7 +97,9 @@
$('.link-panel .wp-tab-panel').delegate('li', 'click', wpLink.selectInternalLink );
$('.wp-tab-panel-pagelinks').delegate('a', 'click', wpLink.selectPageLink );
$('.link-panel .link-search-field').keyup( wpLink.searchInternalLinks );
active.find('input.url-field').focus();
// If link exists, select proper values.
e = ed.dom.getParent(ed.selection.getNode(), 'A');
if ( ! e )