Merge pull request #161 from raboof/autocomplete-all-cves

problemType: autocomplete all CWEs
diff --git a/custom/cve5/conf.js b/custom/cve5/conf.js
index 30de650..074331c 100644
--- a/custom/cve5/conf.js
+++ b/custom/cve5/conf.js
@@ -181,12 +181,6 @@
                                 }                                
                             },
                             "problemTypes": {
-                                "links": [ {
-                                    "class": "lbl vgi-ext",
-                                    "place": "header",
-                                    "rel": "'to be selected from the CWE-1003 view (autocompleted)'",
-                                    "href": "'https://cwe.mitre.org/data/definitions/1003.html'"
-                                } ],
                                 "items": {
                                     "properties": {
                                         "descriptions": {
@@ -197,7 +191,8 @@
                                                             "inputAttributes": {
                                                                 "placeholder": "Vulnerability type: can be a pull-down CWE or free text"
                                                             }
-                                                        }
+                                                        },
+                                                        "$ref": "js/cwe-all.json"
                                                     }
                                                 }
                                             }