Fix bookmarklet using relative url into absolute url with make_http magic
This commit is contained in:
parent
9ab6fec30a
commit
a8e7389afe
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class UploadTheme extends Themelet {
|
|||
|
||||
if($tl_enabled) {
|
||||
global $config;
|
||||
$link = make_link("upload");
|
||||
$link = make_http(make_link("upload"));
|
||||
$title = "Upload to " . $config->get_string('title');
|
||||
$html .= '<p><a href="javascript:location.href="' .
|
||||
$link . '?url="+location.href+"&tags="+prompt("enter tags")">' .
|
||||
|
|
Reference in a new issue