Pre-fill http:// when inserting new links. Props andy. fixes #2579

git-svn-id: https://develop.svn.wordpress.org/trunk@4597 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2006-12-04 02:35:17 +00:00
parent 6a6fb44376
commit 35c79e0a07
1 changed files with 1 additions and 1 deletions

View File

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