I have the following scenario: in a custom script, I define global functions, e.g. function check_period(); This is then loaded with a hook:
app_include_js = "/assets/js/common.js"
Now, I would like to access this function from a Custom Script. This was possible in V11 and earlier simply by using
In V12 however, this is no longer available:
ReferenceError: "check_period is not defined" (form.js:563:4)
Am I missing something or is this really no longe available?