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:
@@ -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');
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user