+ Add zentao user render js.
This commit is contained in:
@@ -8,4 +8,17 @@ $(document).ready(function()
|
||||
$(this).parent().parent().find('.email').text(user.email)
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$(document).on('click', '.zentao-users .chosen-container', function()
|
||||
{
|
||||
var $obj = $(this).prev('select');
|
||||
var value = $obj.val();
|
||||
if($obj.hasClass('filled')) return false;
|
||||
|
||||
$obj.empty();
|
||||
$obj.append($('#userList').html());
|
||||
$obj.val(value);
|
||||
$obj.addClass('filled');
|
||||
$obj.trigger("chosen:updated");
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user