Fix infinite loop before sending mail caused by integrated actions with no app right

This commit is contained in:
Hadi Nategh 2021-04-27 11:51:16 +02:00
parent 3ecb399454
commit f5e2f7e719

View File

@ -5595,6 +5595,11 @@ app.classes.mail = AppJS.extend(
return true;
}
}
// the to_tracker action might not be presented because lack of app permissions
else if(integApps[index] == "to_tracker" && !toolbar.options.actions[integApps[index]])
{
return false;
}
else if(index<integApps.length)
{
this.compose_integrate_submit(++index);