mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-03 11:31:39 +00:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user