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

@@ -32,6 +32,11 @@ Template.PhotoGallery.helpers({
},
slideshow: function() {
return Session.get(PREFIX + "selectedSlideshow");
},
newsHTML: function() { //Moved this from the News & Notices page when we replaced that page.
let doc = Meteor.collections.Pages.findOne({name: 'News'});
return doc === undefined ? "" : doc.html;
}
});
@@ -106,4 +111,4 @@ Template.Slideshow.events({
if(last) last.addClass('showSlide');
}
}
});
});