web.sequences.js.registry-browser.js Maven / Gradle / Ivy
The newest version!
var elementId;
var rootPath;
function showRegistryBrowser(id, path) {
elementId = id;
rootPath = path;
showResourceTree(id, setValue , path);
showMediationResourceTree(id, path);
}
function showRegistryBrowserWithoutLocalEntries(id, path) {
elementId = id;
rootPath = path;
showResourceTree(id, setValue , path);
}
function showMediationResourceTree(id, path) {
if ($('local-registry-placeholder')) {
$('local-registry-placeholder').innerHTML = '' +
'
Local Registry ' +
'' +
'' +
'
';
showLocalRegBrowser(id);
$('local-registry-placeholder').style.display = "";
document.onkeydown = function(evt) {
if (evt.key === "Escape") {
jQuery('#dialog').dialog("destroy").remove();
}
};
} else {
setTimeout("showMediationResourceTree('" + id + "','" + path + "')", 100);
}
}
function setValue() {
if (rootPath == "/_system/config") {
$(elementId).value = $(elementId).value.replace(rootPath, "conf:");
} else if (rootPath == "/_system/governance") {
$(elementId).value = $(elementId).value.replace(rootPath, "gov:");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy