Hi there.
I'm currently reworking an existing feature used in one of my extensions.
The problem is that I can't find a way to add a
into my "View Setup Handler" to do exactly what I want to do.
Here is some detail of what I'm trying to do (with the demo as example) :
Step 1 : Open the "Select" modal to select a new "contact" (in this case) to relate to my "account" (in this case).
Step 2 : Select at least one contact
(No screenshot needed)
Step 3 : Confirm the selection and relate the "contact" to the "account"
Step 4 : BEFORE the AJAX is sent to the server, I want my custom code to be executed. (The custom code will be in my view setup handler).
I hope I gave enough detail.
I'm currently reworking an existing feature used in one of my extensions.
The problem is that I can't find a way to add a
Code:
this.listenTo
Here is some detail of what I'm trying to do (with the demo as example) :
Step 1 : Open the "Select" modal to select a new "contact" (in this case) to relate to my "account" (in this case).
Step 2 : Select at least one contact
(No screenshot needed)
Step 3 : Confirm the selection and relate the "contact" to the "account"
Step 4 : BEFORE the AJAX is sent to the server, I want my custom code to be executed. (The custom code will be in my view setup handler).
I hope I gave enough detail.
Comment