Select http when linking. Props markjaquith. fixes #3462

git-svn-id: http://svn.automattic.com/wordpress/trunk@4642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-12-12 07:48:04 +00:00
parent 448c02eed3
commit da1c8e1df5
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ function init() {
}
document.forms[0].href.value = tinyMCE.getWindowArg('href') || 'http://';
document.forms[0].href.select();
document.forms[0].linktitle.value = tinyMCE.getWindowArg('title');
document.forms[0].insert.value = tinyMCE.getLang('lang_' + tinyMCE.getWindowArg('action'), 'Insert', true);