v1.0.6.2
This commit is contained in:
@@ -126,7 +126,10 @@
|
||||
let $item = $tmpl.clone().prop('id', 'ProSpt_' + item.id);
|
||||
$('.sax-header .sax-action.sax-edit', $item).on('click', function (evt) { sax.updateProfileSport(item.id); });
|
||||
$('.SportName', $item).text(item.sportName);
|
||||
$('.SportParticipation', $item).text(item.sportParticipation);
|
||||
$('.SportParticipationValue', $item).text(item.sportParticipation);
|
||||
$('.SportParticipation', $item).toggle(!!item.sportParticipation);
|
||||
$('.SportOfficiatingValue', $item).text(item.sportOfficiating);
|
||||
$('.SportOfficiating', $item).toggle(!!item.sportOfficiating);
|
||||
$items.append($item);
|
||||
}
|
||||
$items.show();
|
||||
@@ -151,7 +154,7 @@
|
||||
}
|
||||
sax.doUpdateProfileSport = function (response)
|
||||
{
|
||||
//sax.debug('doUpdateProfileSport', response);
|
||||
sax.debug('doUpdateProfileSport', response);
|
||||
let $dlg = sax.$dlg.profileSport;
|
||||
let item = response.sport;
|
||||
$('.UserSportId', $dlg).val(item.id);
|
||||
|
||||
Reference in New Issue
Block a user