Improved the fields builder area in the new assistant area.

This commit is contained in:
2020-01-11 18:29:54 +02:00
parent cf94654c61
commit 5fa49f1bca
15 changed files with 949 additions and 482 deletions

View File

@ -788,7 +788,7 @@ jQuery(document).ready(function()
{
// get type value
var fieldtype = jQuery("#jform_fieldtype option:selected").val();
getFieldOptions(fieldtype, false);
getFieldTypeProperties(fieldtype, false);
// get the linked details
getLinked();
// get the validation rules
@ -806,8 +806,8 @@ jQuery(document).ready(function()
// the options row id key
var rowIdKey = 'properties';
function getFieldOptions(fieldtype, db){
getCodeFrom_server(fieldtype, 'type', 'type', 'fieldOptions').done(function(result) {
function getFieldTypeProperties(fieldtype, db){
getCodeFrom_server(fieldtype, 'type', 'type', 'fieldTypeProperties').done(function(result) {
if(result.subform){
// load the list of properties
propertiesArray = result.nameListOptions;