Please - have a look on the animated GIF.
Any idea why the alert flash do appear?
The controller action is as simple as that:
public function actionDelete($id)
{
$this->findModel($id)->delete();
$this->redirect(['index']);
}
Please - have a look on the animated GIF.
Any idea why the alert flash do appear?
The controller action is as simple as that:
public function actionDelete($id)
{
$this->findModel($id)->delete();
$this->redirect(['index']);
}
Check your alertWidgetOptions settings
What should I check specifically?
OK - I’ve got it - Kartik simply did not take into account direct redirect and DetailView widget expects some feedback. Silly!