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