Remove alternative annotations and make all multi-key annotations separately chooseable in querycreator
Change-Id: I1ed5d5f7b2d15e7367f9011dd102e8f9ee077f3a
diff --git a/dev/js/src/match/table.js b/dev/js/src/match/table.js
index d889026..f55dc6f 100644
--- a/dev/js/src/match/table.js
+++ b/dev/js/src/match/table.js
@@ -164,8 +164,15 @@
if (name instanceof Array && name[1] !== undefined) {
// There are multiple values to add
+ c.classList.add('matchkeyvalues');
+ for (var n = 0; n < name.length; n++) {
+ var text = d.createTextNode(name[n]);
+ var e = c.appendChild(d.createElement('div'));
+ e.appendChild(text);
+ };
// These are andgroups
+ /*
if (name.some(function (item) { return item.indexOf(':') == -1 ? false : true})) {
c.classList.add('matchkeyvalues');
for (var n = 0; n < name.length; n++) {
@@ -184,6 +191,7 @@
};
};
};
+ */
}
else {
c.appendChild(d.createTextNode(name));