We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1a81ca commit 5aad73cCopy full SHA for 5aad73c
view/adminhtml/templates/post/tag/autocomplete.phtml
@@ -94,6 +94,16 @@
94
return false;
95
}
96
});
97
+
98
+ try {
99
+ $('#' + $tags.attr('id') + '_tag').data( "ui-autocomplete" )._renderItem = function( ul, item ) {
100
+ return $( "<li></li>" ).data("item.autocomplete", item)
101
+ .append( "<a>" + item.label + "</a>")
102
+ .appendTo( ul );
103
+ };
104
+ } catch (e) {
105
+ console.log('Autocomplete error: ' + e);
106
+ }
107
108
}, 1000);
109
})
0 commit comments