').html(title).text().trim(); // strip html from title of record. this prop sets text input when user selects item from autocomplete
var hasContent = typeof item.content === 'string' && item.content.length > 0;
var actionHtml = "".replace(/{title}/g, item.value).replace(/{titleEncoded}/g, item.titleEncoded);
var html = '
' + title + '';
if (hasContent) html += '
' + item.content + '
';
html += '
' + '
' + actionHtml + '
';
var $html = $(html);
var isHighlighting = false;
if (isHighlighting) {
cp_HighlightTextInContent($html.find('.cp-apac-title'), this.term, 'cp-apac-hl', true);
if (hasContent) cp_HighlightTextInContent($html.find('.cp-apac-txt'), this.term, 'cp-apac-hl', true);
}
ul.data('input', $el);
return $('
').append($html).appendTo(ul);
};
});
}
Sys.Application.add_init(function() {
$create(Sys.UI._UpdateProgress, {"associatedUpdatePanelId":null,"displayAfter":500,"dynamicLayout":true}, null, null, $get("uprgUpdateProgress"));
});
//]]>