Adding the Field Picker in the dynaform editor

This commit is contained in:
Gustavo Cruz
2012-12-12 17:30:36 -04:00
parent f1fd99799e
commit a7136b70d4
11 changed files with 317 additions and 16 deletions

View File

@@ -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()