Skip to content

Commit

Permalink
Merge pull request #556 from agarzon/master
Browse files Browse the repository at this point in the history
Fix alert-dismissible being ignored by bootstrap-ui
  • Loading branch information
ADmad committed Oct 26, 2017
2 parents 4ded262 + 69ae157 commit 5c36d09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/_partials/events/set_flash.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ If you'd like to configure it on the fly you can use the eventManager to change
$this->eventManager()->on('Crud.setFlash', function (Event $event) {
if ($event->getSubject()->success) {
$event->getSubject()->params['class'] = 'alert alert-success alert-dismissible';
$event->getSubject()->params['class'] = ['alert', 'alert-success', 'alert-dismissible'];
}
});
});

0 comments on commit 5c36d09

Please sign in to comment.