Select http when linking. Props markjaquith. fixes #3462

git-svn-id: https://develop.svn.wordpress.org/trunk@4642 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2006-12-12 07:48:04 +00:00
parent f4b6050d20
commit 971402a730
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);