Skip to content

Commit aca3390

Browse files
authored
Merge pull request #81 from bitcero/helium
Fixed error that prevents to select all users in list
2 parents fcf58ee + 6e9a455 commit aca3390

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rmcommon/templates/rmc-users.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
<table class="table table-striped" cellspacing="0" width="100%">
183183
<thead>
184184
<tr>
185-
<th width="20" class="text-center"><input type="checkbox" class="checkall" id="checkall-top" onclick="$('#form-users').toggleCheckboxes(':not(#checkall-top)');" /></th>
185+
<th width="20" class="text-center"><input type="checkbox" class="checkall" id="checkall-top" data-checkbox="users" /></th>
186186
<th class="text-center"><?php _e('ID','rmcommon'); ?></th>
187187
<th><?php _e('Username','rmcommon'); ?></th>
188188
<th><?php _e('Name','rmcommon'); ?></th>
@@ -211,7 +211,7 @@
211211
foreach($users as $user):
212212
?>
213213
<tr class="<?php echo tpl_cycle('even,odd'); ?><?php echo $user['level']<=0 ? ' user_inactive' : '' ?>" valign="top">
214-
<td class="text-center"><input type="checkbox" name="ids[]" id="item-<?php echo $user['uid']; ?>" value="<?php echo $user['uid']; ?>" /></td>
214+
<td class="text-center"><input type="checkbox" name="ids[]" id="item-<?php echo $user['uid']; ?>" value="<?php echo $user['uid']; ?>" data-oncheck="users"></td>
215215
<td class="text-center"><?php echo $user['uid']; ?></td>
216216
<td nowrap="nowrap">
217217
<strong><?php echo $user['uname']; ?></strong>

0 commit comments

Comments
 (0)