mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Merge pull request #2610 from lukaszbanas-extremecoding/issue_2609
Support deferred binding for single view modes in RelationController
This commit is contained in:
commit
bf17fa44e6
@ -1058,7 +1058,7 @@ class RelationController extends ControllerBehavior
|
||||
}
|
||||
elseif ($this->viewMode == 'single') {
|
||||
$this->viewWidget->setFormValues($saveData);
|
||||
$this->viewModel->save();
|
||||
$this->viewModel->save(null, $this->manageWidget->getSessionKey());
|
||||
}
|
||||
|
||||
return ['#'.$this->relationGetId('view') => $this->relationRenderView()];
|
||||
|
Loading…
x
Reference in New Issue
Block a user