AnsweredAssumed Answered

Custom JavaScript in Canvas Catalog

Question asked by Jaclyn Smith on Aug 17, 2018
Latest reply on Aug 30, 2018 by Stuart Ryan

I'm trying to add custom JS that has worked in the past to replace the text that appears in the gray box on the registration pages (image attached). The script we use is:


if (window.location.pathname == "/browse/courseinfohere") {
$('span.ProductEnrollment__Notice').text('text here');


I've applied this to multiple catalogs in the customizations but it doesn't seem to working on any catalog anymore. Has anyone else added customizations to their back end before and had trouble saving? I keep getting the error "there was an error saving the catalog" 


I've cleared my cache and re-added the customizations, but I still get the same error. Maybe there's an update I'm missing?



Jackie S.