![JAR search and dependency download from the Maven repository](/logo.png)
ui.static.topic.topicsAll.js Maven / Gradle / Ivy
The newest version!
$(document).ready(function () {
$("#clone-existing-btn").click(function (event) {
event.preventDefault();
event.stopPropagation();
$(".clone-existing-container").show();
});
let allTopics = $(".topicName").get().map(function (value) {
return $(value).attr("data-topic-name")
});
$("#cloneInput")
.autocomplete({
source: allTopics,
select: function () {
setTimeout(function () {
$(".clone-existing-container form").submit();
}, 10);
},
minLength: 0
})
.focus(function () {
$(this).data("uiAutocomplete").search($(this).val());
});
maybeFilterDatatableByUrlHash();
});
© 2015 - 2025 Weber Informatics LLC | Privacy Policy