I need to call “save” before that button is called. Is it possible?
I could listen for all “click” events on form, then I would check the target, and if it is correct - I could call form.submit() in js (I’m afraid the sequence of events can be messy in that case). Would that work? Or is there any correct way for doing that?
In general I need a way to be able to call “save”, and after save completed, call “downloadPdf”.
done in v2.9.0. but its a bit of a hack. it will save, refresh the page and then press the janitor button again.
this means you will get a blink on refresh and will loose current scrolling position. the later i could reapply but decided against since i found it too invasive.