18
Aug

Real Estate – Parramatta Chamber of Commerce, NSW

‘ }
}
});

$(‘.member-typeahead’).on(‘typeahead:selected’, function (evt, item) {
var openInNewWindow = MNI.Page.MemberPagePopup
var doAction = openInNewWindow ? MNI.openNewWindow : MNI.redirectTo;

switch (item.ResultType) {
case 1: // AutocompleteSearchResultType.Category
doAction(MNI.Path.Category(item.SlugWithID));
break;
case 2: // AutocompleteSearchResultType.QuickLink
doAction(MNI.Path.QuickLink(item.SlugWithID));
break;
case 3: // AutocompleteSearchResultType.Member
if (item.MemberPageAction == 1) {
MNI.logHitStat(“mbrws”, item.ID).then(function () {
var location = item.WebParticipation

‘ + data.Name + ” + data.Type + ‘
Source