From: julmis Date: Sat, 8 May 2004 18:23:18 +0000 (+0000) Subject: Prefilled textbox added (bug id 1339) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=92ff72590c1d25ef5224f1e707c8b608b820fb2c;p=moodle.git Prefilled textbox added (bug id 1339) --- diff --git a/lib/editor/popups/link.php b/lib/editor/popups/link.php index 6863c4a173..aef03b87ef 100644 --- a/lib/editor/popups/link.php +++ b/lib/editor/popups/link.php @@ -49,6 +49,8 @@ function Init() { target_select.appendChild(opt); opt.selected = true; } + } else { + document.getElementById("f_href").value = "http://"; } var opt = document.createElement("option"); opt.value = "_other"; diff --git a/lib/editor/popups/link_std.php b/lib/editor/popups/link_std.php index f88b502f2f..3743c62647 100644 --- a/lib/editor/popups/link_std.php +++ b/lib/editor/popups/link_std.php @@ -1,8 +1,8 @@ :