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:
parent
6a6fb44376
commit
35c79e0a07
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue