add event so clicking on the labelboxes focus the entry widget
This commit is contained in:
parent
b4b792781c
commit
fa1bc7430d
|
@ -38,6 +38,7 @@ function autocomplete_ready(event, data, formatted) {
|
|||
function sync_elements(index, elem, url)
|
||||
{
|
||||
$(elem).parent().find('input').wrapAll('<div class="labelboxes">');
|
||||
$('div.labelboxes').click(function() { $(this).find('input').focus(); });
|
||||
hidden = $(elem).prev();
|
||||
values = $(hidden).attr('value').trim().split(' ');
|
||||
for (i=0; i < values.length; i++) {
|
||||
|
|
Reference in New Issue