Fixes #481 - Native widget handlers should still initialize
This commit is contained in:
parent
200615f310
commit
3c1e6ea846
|
|
@ -154,6 +154,9 @@ class RelationController extends ControllerBehavior
|
|||
*/
|
||||
public function initRelation($model, $field = null)
|
||||
{
|
||||
if ($field == null)
|
||||
$field = post(self::PARAM_FIELD);
|
||||
|
||||
$this->config = $this->originalConfig;
|
||||
$this->model = $model;
|
||||
$this->field = $field;
|
||||
|
|
|
|||
Loading…
Reference in New Issue