subscribers list wasn't firing correct events
This commit is contained in:
parent
ccd0db1e0a
commit
c82efb7fd8
|
@ -143,9 +143,12 @@ class SubscribersListItem extends SubscriptionListItem
|
||||||
function showActions()
|
function showActions()
|
||||||
{
|
{
|
||||||
$this->startActions();
|
$this->startActions();
|
||||||
$this->showSubscribeButton();
|
if (Event::handle('StartProfileListItemActionElements', array($this))) {
|
||||||
// Relevant code!
|
$this->showSubscribeButton();
|
||||||
$this->showBlockForm();
|
// Relevant code!
|
||||||
|
$this->showBlockForm();
|
||||||
|
Event::handle('EndProfileListItemActionElements', array($this));
|
||||||
|
}
|
||||||
$this->endActions();
|
$this->endActions();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user