diff --git a/protected/humhub/docs/CHANGELOG.md b/protected/humhub/docs/CHANGELOG.md index ad09fc052f..d14af01174 100644 --- a/protected/humhub/docs/CHANGELOG.md +++ b/protected/humhub/docs/CHANGELOG.md @@ -22,7 +22,9 @@ HumHub Change Log - Chng: `humhub\modules\topic\models\Topic::attach` now accepts `humhub\modules\content\interfaces\ContentOwner` instances - Fix: Richtext without focusMenu on small devices overlaps previous sibling - Enh: Added random default color to `humhub\modules\ui\form\widgets\ColorPicker` -- Chng: `humhub\modules\content\models\ContentTag:deleteAll()` and `humhub\modules\content\models\ContentTag:findAll()` now respect the tag type condition by default +- Chng: `humhub\modules\content\models\ContentTag:deleteAll()` and `humhub\modules\content\models\ContentTag:findAll()` now respect the tag type condition by default- Fix: Space admin user remove broken +- Fix: Space admin user remove broken + 1.3.1 (August 7, 2018) ----------------------- diff --git a/protected/humhub/modules/space/modules/manage/views/member/index.php b/protected/humhub/modules/space/modules/manage/views/member/index.php index 2779c5b8f3..39d3624ad7 100644 --- a/protected/humhub/modules/space/modules/manage/views/member/index.php +++ b/protected/humhub/modules/space/modules/manage/views/member/index.php @@ -28,7 +28,7 @@ use yii\helpers\Html; - +
'form-control', 'onchange' => 'this.form.submit()']); ?> @@ -100,10 +100,12 @@ use yii\helpers\Html; 'update' => function ($url, $model) { return false; }, - 'delete' => function ($url, $model) { - return Html::a('', '#', [ + 'delete' => function ($url, $model) use($space) { + $url = ['/space/manage/member/remove', 'userGuid' => $model->user->guid, 'container' => $space]; + return Html::a('', $url, [ 'title' => Yii::t('SpaceModule.manage', 'Remove from space'), 'class' => 'btn btn-danger btn-xs tt', + 'data-method' => 'POST', 'data-confirm' => 'Are you really sure?' ]); }