Hi,
I’ve created a custom presenter to show text and when clicked it opens a pop-up window,
however I’m unsure how I can go about hiding the footer for this window without disabling the footer for all modal windows.
We’re using a submit button/link on the pop-up already to save/close so currently it’s just a duplicate that doesn’t really do anything
I’m using the below code to create the window:
popup_page:function(e, id) {
if (this.linkTo == null) return;
var url = this.linkTo+ “?context_record_id=”+id;
e.preventDefault();
if (url.startsWith(“/i”)) {
window.location = url;
}
else {
new mats.system_modal_popup(url);
}
return false;
}
Is there anything that can be passed into the system_modal_popup to disable the footer?
(I’ve tried to also use getElementsByClass / getElementByID to try and get the footer class to remove it/ hide it to no luck.)
Thanks,
Liam