dattatable
Advanced tools
@@ -150,2 +150,6 @@ "use strict"; | ||
var fieldLink = ct.FieldLinks.results[j]; | ||
// Ignore the Taxonomy fields, they will get added automatically | ||
if (fieldLink.Name == "TaxCatchAll" || fieldLink.Name == "TaxCatchAllLabel") { | ||
continue; | ||
} | ||
// Get the field | ||
@@ -332,3 +336,3 @@ var field = list.getField(fieldLink.Name); | ||
var props_1 = schemaXml.querySelector("ArrayOfProperty"); | ||
for (var j = props_1.children.length - 1; j >= 0; j--) { | ||
var _loop_2 = function (j) { | ||
// See if this isn't the text field property | ||
@@ -338,9 +342,24 @@ var prop = props_1.children[j]; | ||
// Find the hidden text field for this MMS field | ||
var field = list.getFieldById(prop.querySelector("Value").innerHTML); | ||
if (field && fields[field.InternalName] != true) { | ||
// Append the field | ||
fields[field.InternalName] = true; | ||
cfgProps.ListCfg[0].CustomFields.push({ | ||
name: field.InternalName, | ||
schemaXml: field.SchemaXml | ||
var field_1 = list.getFieldById(prop.querySelector("Value").innerHTML); | ||
if (field_1) { | ||
// Ensure we haven't already added it | ||
if (fields[field_1.InternalName] != true) { | ||
// Append the field | ||
fields[field_1.InternalName] = true; | ||
cfgProps.ListCfg[0].CustomFields.push({ | ||
name: field_1.InternalName, | ||
schemaXml: field_1.SchemaXml | ||
}); | ||
} | ||
// Parse the content types | ||
gd_sprest_bs_1.Helper.Executor(cfgProps.ListCfg[0].ContentTypes, function (ct) { | ||
// Parse the field links | ||
for (var i = 0; i < ct.FieldRefs.length; i++) { | ||
// See if this is the target field | ||
if (ct.FieldRefs[i] == field_1.InternalName) { | ||
// Remove this from the content types | ||
ct.FieldRefs.splice(i, 1); | ||
break; | ||
} | ||
} | ||
}); | ||
@@ -353,2 +372,5 @@ } | ||
} | ||
}; | ||
for (var j = props_1.children.length - 1; j >= 0; j--) { | ||
_loop_2(j); | ||
} | ||
@@ -355,0 +377,0 @@ // Remove the properties |
{ | ||
"name": "dattatable", | ||
"version": "2.10.72", | ||
"version": "2.10.73", | ||
"description": "", | ||
@@ -40,3 +40,3 @@ "main": "build/index.js", | ||
"datatables.net-bs5": "^2.1.3", | ||
"gd-sprest-bs": "^10.11.87", | ||
"gd-sprest-bs": "^10.11.88", | ||
"html-loader": "^4.2.0", | ||
@@ -43,0 +43,0 @@ "jquery": "^3.7.1", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
10224017
0.03%10722
0.21%