calling event to handle click2 call is not getting triggered at all from following places
- recent activites
steps to reproduce
a. go to any lead
b. go to recent activites
c. click on number showing in any activity if there is no recent activity add a call log and then repeat steps b and c - timeline feeds
steps to reproduce
a. go to any lead
b. click on view all corresponding to recent activites
c. click on number showing in any activity if there is no recent activity add a call log and repeat steps b and c
freshsales_calling_issue1|690x388
code -
var client;
$(document).ready( function() {
app.initialized()
.then(function(_client) {
client = _client;
client.events.on("app.activated",
function() {
console.log("app activated");
client.events.on("calling", handlec2cevent);
});
});
});
function openModal() {
client.interface.trigger('showModal', {title: 'Add Integration Action', template: 'modal.html'});
}
function closePopup() {
client.instance.close();
}
function handlec2cevent(){
console.log("handlec2cevent")
}
complete code - first.zip - Google Drive