Fix error when calling show_popup_dialog() with no 4th argument

pull/6040/head
Aleksander Machniak 7 years ago
parent 4223bed7e8
commit fb02d4a747

@ -7776,7 +7776,7 @@ function rcube_webmail()
return button;
};
if (options.button_classes)
if (options && options.button_classes)
$.each(buttons, function(idx, button) {
var cl = options.button_classes[i];
if (cl)

Loading…
Cancel
Save