XF 2.3 How can I enable communication between Script A and Script B?

I can modify editor.js and also attachment_manager.js — that's not a problem for me.
What I need to figure out is how to make both scripts communicate with each other.


Ideally, I want a shared mechanism that allows Script A to set values that Script B can retrieve, and vice versa. Maybe the best approach is to use a third module or shared object.


In short: when Script A sets a value, Script B should be able to access it — and the other way around.

Thanks
 
Back
Top Bottom