auto generated links

This commit is contained in:
Zhora Shalyapin 2025-02-27 10:35:51 +00:00
parent f6ef049473
commit 7d28c74b96

View File

@ -1082,7 +1082,7 @@
if (exit) {
localStorage.removeItem(localStorageItems.REDIRECT_EXIT)
window.location.href = "https://rst.runcity.org/msk2025/cp_mgmt/"
location.href = location.href.replace(location.search, '')
return
}
@ -1090,7 +1090,7 @@
localStorage.setItem(localStorageItems.PREV_CREATED, justCreated)
localStorage.removeItem(localStorageItems.JUST_CREATED)
window.location.href = "https://rst.runcity.org/msk2025/cp_mgmt/?action=edit"
location.href = location.href.replace(location.search, "?action=edit")
return
}
if (prevCreated !== null) {