From e6ea99ac12168d4fa725083bccb26a3a430b47c8 Mon Sep 17 00:00:00 2001 From: torleif Date: Tue, 21 Jun 2016 15:44:37 +1200 Subject: [PATCH] #129 - FIX: htmlfield editor will be created correctly --- code/controller/WidgetController.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/controller/WidgetController.php b/code/controller/WidgetController.php index 811b838..a67a895 100644 --- a/code/controller/WidgetController.php +++ b/code/controller/WidgetController.php @@ -101,6 +101,10 @@ class WidgetController extends Controller */ public function editablesegment() { + // use left and main to set the html config + $leftandmain = LeftAndMain::create(); + $leftandmain->init(); + $className = $this->urlParams['ID']; if (class_exists('Translatable') && Member::currentUserID()) { // set current locale based on logged in user's locale