mirror of https://github.com/abpframework/eventhub
4 changed files with 64 additions and 32 deletions
@ -0,0 +1,18 @@ |
|||||
|
(function () { |
||||
|
abp.widgets.AttendeesArea = function ($wrapper) { |
||||
|
var eventId = $wrapper.find('[data-event-id]').attr('data-event-id'); |
||||
|
return { |
||||
|
getFilters: function () { |
||||
|
return { |
||||
|
eventId: eventId |
||||
|
}; |
||||
|
} |
||||
|
}; |
||||
|
}; |
||||
|
|
||||
|
abp.event.on("EventHub.Event.RegistrationStatusChanged", function(){ |
||||
|
$('[data-widget-name="AttendeesArea"]') |
||||
|
.data('abp-widget-manager') |
||||
|
.refresh(); |
||||
|
}); |
||||
|
})(); |
||||
Loading…
Reference in new issue