*Fix bug#17639
This commit is contained in:
@@ -62,12 +62,12 @@ function setRole(account, roleID)
|
||||
*/
|
||||
function addItem(obj)
|
||||
{
|
||||
var item = $('#addItem').html().replace(/%i%/g, i);
|
||||
var item = $('#addItem').html().replace(/%i%/g, itemIndex);
|
||||
var $tr = $('<tr class="addedItem">' + item + '</tr>').insertAfter($(obj).closest('tr'));
|
||||
$tr.find('select:first')
|
||||
.trigger('liszt:updated')
|
||||
.picker({type: 'user'});
|
||||
i++;
|
||||
itemIndex++;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<?php js::set('i', $i);?>
|
||||
<?php js::set('itemIndex', $i);?>
|
||||
</form>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user