Add suggestions list with goals and targets
This will allow autocomplete for the loaded values in suggestions settings. We remove commas on tag to allow to jquery.amsify.suggestag.js use comma as delimiter.
This commit is contained in:
@@ -4,6 +4,10 @@
|
||||
initialize: function() {
|
||||
if ($(".sdg-related-list-selector").length) {
|
||||
var amsify_suggestags = new AmsifySuggestags($(".sdg-related-list-selector .input"));
|
||||
|
||||
amsify_suggestags._settings({
|
||||
suggestions: $(".sdg-related-list-selector .input").data("suggestions-list"),
|
||||
});
|
||||
amsify_suggestags.classes.focus = ".sdg-related-list-focus";
|
||||
amsify_suggestags.classes.sTagsInput = ".sdg-related-list-selector-input";
|
||||
amsify_suggestags._init();
|
||||
|
||||
Reference in New Issue
Block a user