From da1c8e1df534163115b9f80b1183344bba6437f7 Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 12 Dec 2006 07:48:04 +0000 Subject: [PATCH] Select http when linking. Props markjaquith. fixes #3462 git-svn-id: http://svn.automattic.com/wordpress/trunk@4642 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/js/tinymce/themes/advanced/jscripts/link.js | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/js/tinymce/themes/advanced/jscripts/link.js b/wp-includes/js/tinymce/themes/advanced/jscripts/link.js index 74045bd5f6..990b7a4797 100644 --- a/wp-includes/js/tinymce/themes/advanced/jscripts/link.js +++ b/wp-includes/js/tinymce/themes/advanced/jscripts/link.js @@ -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);