Recoded it to not use the editor for the Second Chance page. The editor was not able to handle a download link (the link failed to work without a page refresh after clicking, and the download property of the link could not be set).

This commit is contained in:
Wynne Crisman
2020-11-16 19:15:49 -08:00
parent da36c139eb
commit 7766cd517b
12 changed files with 208 additions and 44 deletions

View File

@@ -76,13 +76,6 @@ pri.route("/Admin/NewsEditor", {
BlazeLayout.render("Admin", {content: "PageEditor"});
}
});
pri.route("/Admin/SecondChanceEditor", {
name: "SecondChanceEditor",
action: function(params, queryParams) {
require("/imports/ui/Admin/PageEditor.js");
BlazeLayout.render("Admin", {content: "PageEditor"});
}
});
pri.route("/Admin/SlideshowEditor", {
name: "SlideshowEditor",
action: function(params, queryParams) {
@@ -203,8 +196,8 @@ pub.route("/News", {
pub.route("/SecondChance", {
name: 'SecondChance',
action: function(params, queryParams) {
require("/imports/ui/EditablePage.js");
BlazeLayout.render("Public", {content: "EditablePage"});
require("/imports/ui/SecondChance.js");
BlazeLayout.render("Public", {content: "SecondChance"});
}
});
pub.route("/PhotoGallery", {