mirror of
https://github.com/silverstripe/silverstripe-widgets
synced 2024-10-22 15:05:54 +00:00
#129 - FIX: htmlfield editor will be created correctly
This commit is contained in:
parent
4aa66af42d
commit
e6ea99ac12
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user