1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-24 13:43:12 +02:00

Fix #1908. Pass version to feedback form. (#1909)

This commit is contained in:
Chen-I Lim 2021-12-03 10:56:40 -05:00 committed by GitHub
parent 68ad063c26
commit 206bb98800
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 6 deletions

View File

@ -1,12 +1,20 @@
<html>
<head>
<meta http-equiv="refresh" content="0;url=https://docs.google.com/forms/d/e/1FAIpQLSfNLwUsG6zazDYxt_fgCV-ThH5_R9ycPTTgRTJ1DVnXuuyD7Q/viewform" />
<title>Page Moved</title>
<script type="text/javascript">
window.location.replace("https://docs.google.com/forms/d/e/1FAIpQLSfNLwUsG6zazDYxt_fgCV-ThH5_R9ycPTTgRTJ1DVnXuuyD7Q/viewform");
var urlParams = new URLSearchParams(window.location.search);
var version = urlParams.get('v');
var url = 'https://docs.google.com/forms/d/e/1FAIpQLSfNLwUsG6zazDYxt_fgCV-ThH5_R9ycPTTgRTJ1DVnXuuyD7Q/viewform?usp=pp_url&entry.797568877=' + version;
var link = document.getElementById("mainLink");
if (link && link.href) {
link.href = url;
}
window.location.replace(url);
</script>
</head>
<body>
This page has moved. Click <a href="https://docs.google.com/forms/d/e/1FAIpQLSfNLwUsG6zazDYxt_fgCV-ThH5_R9ycPTTgRTJ1DVnXuuyD7Q/viewform">here</a> to go to the new page.
This page has moved. Click <a id="mainLink" href="https://docs.google.com/forms/d/e/1FAIpQLSfNLwUsG6zazDYxt_fgCV-ThH5_R9ycPTTgRTJ1DVnXuuyD7Q/viewform">here</a> to go to the new page.
</body>
</html>

View File

@ -1,12 +1,20 @@
<html>
<head>
<meta http-equiv="refresh" content="0;url=https://docs.google.com/forms/d/e/1FAIpQLSdTq7M69Pdlz71CwucaSEG0FCK1M_WRvIbZbPr2imfT2QvUCQ/viewform" />
<title>Page Moved</title>
<script type="text/javascript">
window.location.replace("https://docs.google.com/forms/d/e/1FAIpQLSdTq7M69Pdlz71CwucaSEG0FCK1M_WRvIbZbPr2imfT2QvUCQ/viewform");
var urlParams = new URLSearchParams(window.location.search);
var version = urlParams.get('v');
var url = 'https://docs.google.com/forms/d/e/1FAIpQLSdTq7M69Pdlz71CwucaSEG0FCK1M_WRvIbZbPr2imfT2QvUCQ/viewform?usp=pp_url&entry.1003590493=' + version;
var link = document.getElementById("mainLink");
if (link && link.href) {
link.href = url;
}
window.location.replace(url);
</script>
</head>
<body>
This page has moved. Click <a href="https://docs.google.com/forms/d/e/1FAIpQLSdTq7M69Pdlz71CwucaSEG0FCK1M_WRvIbZbPr2imfT2QvUCQ/viewform">here</a> to go to the new page.
This page has moved. Click <a id="mainLink" href="https://docs.google.com/forms/d/e/1FAIpQLSdTq7M69Pdlz71CwucaSEG0FCK1M_WRvIbZbPr2imfT2QvUCQ/viewform">here</a> to go to the new page.
</body>
</html>