load eT2 widgets first, as eg. customfield_widget depends on eT2 Widget\Transformer

This commit is contained in:
Ralf Becker 2016-05-05 12:40:36 +00:00
parent 67f113be49
commit 8e880babe5

View File

@ -1595,6 +1595,9 @@ class editor
if (isset($this->extensions['**loaded**'][$app])) return ''; // already loaded
// load eT2 widgets first, as eg. customfield_widget depends on eT2 Widget\Transformer
EGroupware\Api\Etemplate\Widget::scanForWidgets();
$labels = array();
$dir = @opendir(EGW_SERVER_ROOT.'/'.$app.'/inc');
while ($dir && ($file = readdir($dir)))