Adding the Field Picker in the dynaform editor
This commit is contained in:
@@ -416,8 +416,7 @@ class dynaformEditorAjax extends dynaformEditor implements iDynaformEditorAjax
|
||||
} else {
|
||||
$error = 0;
|
||||
}
|
||||
$HtmlEditor = array('URL' => $A, 'HTML' => $html
|
||||
);
|
||||
$HtmlEditor = array('URL' => $A, 'HTML' => $html, 'DYN_UID' => $file );
|
||||
$G_PUBLISH->AddContent('xmlform', 'xmlform', 'dynaforms/dynaforms_HtmlEditor', '', $HtmlEditor, '', '');
|
||||
G::RenderPage("publish", 'raw');
|
||||
return array('error' => $error, 'html' => ob_get_clean()
|
||||
|
||||
Reference in New Issue
Block a user