Commit 841b4da1 authored by Carsten  Rose's avatar Carsten Rose
Browse files

B6576 - download buttons are now rendered disabled with render mode r:3

parent 72f9e06e
Pipeline #801 passed with stage
in 1 minute and 41 seconds
......@@ -228,8 +228,6 @@ class Link {
TOKEN_L_APPEND => TOKEN_L_APPEND,
TOKEN_L_INTERVAL => TOKEN_L_INTERVAL,
TOKEN_L_HTML_ID => TOKEN_L_HTML_ID,
];
// Used to find double definitions.
......@@ -1381,6 +1379,11 @@ EOF;
$vars[NAME_GLYPH_TITLE] = "Download";
}
// No download link! Only text/button
if($vars[NAME_RENDER]=='3'){
return $vars;
}
$text = DOWNLOAD_POPUP_REPLACE_TEXT;
$title = DOWNLOAD_POPUP_REPLACE_TITLE;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment