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

git-svn-id: http://svn.automattic.com/wordpress/trunk@4597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-12-04 02:35:17 +00:00
parent 223cffa7ab
commit 78968b6bff
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);