Forum Discussion
Learning Journal In Rise
Hi Mike, thank you very much for the resource.
I'd like to be able to remove the "Print My Actions" button.
Do you know how to do this without breaking the rest of the structure ?
Thx
- NicolaFern-02972 years agoCommunity Member
Hi Manon
You can do this with an easy CSS edit:
.journalprintbuttonaction {display: none!important;}
You will also need to alter the Javascript to assign this new class to the relevant button...the code should look like this:
var button2 = document.createElement("div");button2.className = "journalprintbuttonaction";
button2.innerText = PrintTakeActionsOnly_Text;
button2.addEventListener("click", function() { printEntries(true)} ); container.appendChild(button2);
note.parentNode.appendChild(container);
In my file, it's on line 429 - the section is commented as // Render buttons to DOM
Nic
- ManonBonaven2262 years agoCommunity Member
Thank you so much Nicola! It did work well.
The only thing I find is a shame is the fact we don't have a classic "download" process, we have to save as a PDF while it opens the print window.