All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ui.static.recordsStructure-js.menu.js Maven / Gradle / Ivy

There is a newer version: 0.8.0
Show newest version
$(document).ready(function () {
    $('select').on('change', updateInspectUrl);
});

function updateInspectUrl() {
    let clusterIdentifier = $("select[name=clusterIdentifier]").val();
    if (clusterIdentifier === "ALL") {
        clusterIdentifier = undefined;
    }
    let topicName = $("select[name=topicName]").val();
    let url = urlFor("recordsStructure.showTopicStructure", {
        clusterIdentifier: clusterIdentifier,
        topicName: topicName
    });
    console.log("updating inspect url to: " + url);
    $("#inspect-records-structure-btn").attr("href", url);
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy