mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Make sure there is toolbar before using it
This commit is contained in:
parent
2353439517
commit
018a6a4d09
@ -6115,7 +6115,7 @@ app.classes.mail = AppJS.extend(
|
||||
actions = actions.split(',');
|
||||
for (var i=0; i < actions.length; i++)
|
||||
{
|
||||
if (toolbar.options.actions[actions[i]])
|
||||
if (toolbar && toolbar.options.actions[actions[i]])
|
||||
{
|
||||
var $d = jQuery('#composeToolbar-'+actions[i]);
|
||||
if ($d.length > 0
|
||||
|
Loading…
Reference in New Issue
Block a user