Hi DigiRapha ,
The button action "Javascript function" runs Javascript functions.
So something like this:
console.log("Hello World");
or
runThisFunction();
@Jasper has taken a look at the script you sent and found a function in the script that you could use.
Copy and paste this into your button with the button action, Javascript function:
bl.bootstrap.DialogInitializer.oeffneDialogDirekt(bl.gui.dialoge.Dialog.NEBENKOSTEN_RECHNER)
Then place the script into the footer of your site.
<script type="text/javascript" src="https://www.baufi-lead.de/baufilead/partner/FN2Ao8JfpZDvUdtDJXeu/imports.js"></script>
This should now open the poup after clicking on the button.
Please let me know if this works for you! 😄