Commit bc29bd52 authored by Jonathon Duerig's avatar Jonathon Duerig

Fix linktest.md inclusion. Cannot have special HTML query characters (like .) in identifiers

parent e947b1c0
......@@ -2,7 +2,7 @@ $(function ()
{
'use strict';
var templates = APT_OPTIONS.fetchTemplateList(['status', 'waitwait-modal', 'oops-modal', 'register-modal', 'terminate-modal', 'clone-help', 'snapshot-help', 'oneonly-modal', 'approval-modal', 'linktest-modal', 'linktest.md']);
var templates = APT_OPTIONS.fetchTemplateList(['status', 'waitwait-modal', 'oops-modal', 'register-modal', 'terminate-modal', 'clone-help', 'snapshot-help', 'oneonly-modal', 'approval-modal', 'linktest-modal', 'linktest-md']);
var statusString = templates['status'];
var waitwaitString = templates['waitwait-modal'];
......@@ -2366,7 +2366,7 @@ $(function ()
}
linktestsetup = 1;
var md = templates['linktest.md'];
var md = templates['linktest-md'];
$('#linktest-help').html(marked(md));
// Handler for the linktest modal button
......
......@@ -314,6 +314,6 @@ if ($extension_denied_reason != "") {
}
AddTemplateList(array("status", "waitwait-modal", "oops-modal", "register-modal", "terminate-modal", "clone-help", "snapshot-help", "oneonly-modal", "approval-modal", "linktest-modal"));
AddTemplateKey("linktest.md", "template/linktest.md");
AddTemplateKey("linktest-md", "template/linktest.md");
SPITFOOTER();
?>
Markdown is supported
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