Elastic: Avoid double checkbox convertion to icon-checkbox

pull/6241/head
Aleksander Machniak 7 years ago
parent 809b3d4abe
commit 9d262402db

@ -2795,6 +2795,10 @@ function rcube_elastic_ui()
var checkbox = $(checkbox),
id = checkbox.attr('id');
if (checkbox.is('.icon-checkbox')) {
return;
}
if (!id) {
if (!env.icon_checkbox) env.icon_checkbox = 0;
id = 'icochk' + (++env.icon_checkbox);

Loading…
Cancel
Save