summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2015-07-19 01:52:37 +0200
committerYorhel <git@yorhel.nl>2015-07-19 01:52:37 +0200
commitf5e7a629a85a3abda0bfe7ee81b8612409377056 (patch)
tree744dd088a0329e64400eec78196cb9373adc877f /data
parenta575477eb7c755dc6facfe6a01abc2f8cbc9d73e (diff)
Remove reliance on Referer header for /[vr]+/list modifications
Diffstat (limited to 'data')
-rw-r--r--data/script.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/script.js b/data/script.js
index 7e04c1e0..dddc800c 100644
--- a/data/script.js
+++ b/data/script.js
@@ -3122,7 +3122,7 @@ if(byId('listsel')) {
byId('listsel').onchange = function() {
if(this.selectedIndex != 0)
location.href = location.href.replace(/#.*/, '').replace(/\/(chars|staff)/, '').replace(/\.[0-9]+/, '')
- +'/list?formcode='+this.name+';e='+this.options[this.selectedIndex].value;
+ +'/list?formcode='+this.name+';e='+this.options[this.selectedIndex].value+';ref='+encodeURIComponent(location.pathname+location.search);
};
}