forked from extern/egroupware
Make sure there is toolbar before using it
This commit is contained in:
parent
68de0eba1a
commit
db60d3cfa9
@ -6063,7 +6063,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