From bbd9a29103f958cbbce0423ea36cb5eb550b69d4 Mon Sep 17 00:00:00 2001
From: Dung Truong
Date: Mon, 29 Jul 2024 10:08:57 -0400
Subject: [PATCH] Revert "modify prerelease path"
This reverts commit c89502d3b0d9cbfe7265dcdda79646ccf2266b1b.
---
schema_browser/schema-browser.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/schema_browser/schema-browser.js b/schema_browser/schema-browser.js
index e3a6cc4..cff23ac 100644
--- a/schema_browser/schema-browser.js
+++ b/schema_browser/schema-browser.js
@@ -36,21 +36,21 @@ function load(schema_name) {
if (schema_name.includes('prerelease')) {
var name_without_prerelease = schema_name.replace('_prerelease', '');
if (name_without_prerelease == "standard") {
- var schema_link = getPrereleaseXml(standard_schema_api_path + "/prerelease?ref=develop-standard");
+ var schema_link = getPrereleaseXml(standard_schema_api_path + "/prerelease?ref=develop");
}
else {
- var schema_link = getPrereleaseXml(library_schema_api_path + "/" + name_without_prerelease + "/prerelease?ref=develop-" + name_without_prerelease);
+ var schema_link = getPrereleaseXml(library_schema_api_path + "/" + name_without_prerelease + "/prerelease?ref=develop");
}
// load preprelease schema accordingly
loadSchema(schema_name, schema_link)
// add schema names to schema dropdown button
- var standard_prerelease_schema_link = getPrereleaseXml(standard_schema_api_path + "/prerelease?ref=develop-standard");
+ var standard_prerelease_schema_link = getPrereleaseXml(standard_schema_api_path + "/prerelease?ref=develop");
var html = 'standard_prerelease';
$("#schemaDropdown").append(html);
library_schemas = getLibarySchemas();
for (var i=0; i < library_schemas.length; i++) {
- var library_schema_link = getPrereleaseXml(library_schema_api_path + "/" + library_schemas[i] + "/prerelease?ref=develop-" + name_without_prerelease);
+ var library_schema_link = getPrereleaseXml(library_schema_api_path + "/" + library_schemas[i] + "/prerelease?ref=develop");
var html = '' + library_schemas[i] + '_prerelease';
$("#schemaDropdown").append(html);
}