This bug affects large multi-node installation converted to a single-node with node id having leading non-zero value.
Steps to reproduce:
1. Create host groups with id's with leading number greater than zero
2. Go to edit usergroup and try to add host group permissions.
Affected zabbix versions:
2.2.x, possible 2.4.x
replace string in popup_right.php
var id = obj.data('id')
var id = obj.attr('data-id');
PS I'm not sure that this bug affects only popup_right.php page and I think that fixing bug in jquery is a better way. Maybe it has been fixed in this ticket http://bugs.jquery.com/ticket/7579, but I haven't checked it.