aboutsummaryrefslogtreecommitdiff
path: root/web/viewsjs
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2014-05-15 20:49:20 +0200
committerJochen Topf <jochen@topf.org>2014-05-15 20:49:20 +0200
commit8addee3d7b3e1f745a75f3dbdcf278277801835a (patch)
tree57e1927a6996093e07d6bb8deddd1c80b967dfcc /web/viewsjs
parent13dc9ce483faecb945000ae8d8510a962cce93c3 (diff)
downloadtaginfo-8addee3d7b3e1f745a75f3dbdcf278277801835a.tar
taginfo-8addee3d7b3e1f745a75f3dbdcf278277801835a.tar.gz
Add Key Comparison page.
This allows comparing of two or more (up to five) keys on one page. No link currently points to this page.
Diffstat (limited to 'web/viewsjs')
-rw-r--r--web/viewsjs/key_comparison.js.erb8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/viewsjs/key_comparison.js.erb b/web/viewsjs/key_comparison.js.erb
new file mode 100644
index 0000000..52dfbc3
--- /dev/null
+++ b/web/viewsjs/key_comparison.js.erb
@@ -0,0 +1,8 @@
+<%
+ osm = @trans.t.osm
+ misc = @trans.t.misc
+ %>
+function page_init() {
+ up = function() { window.location = '/'; }
+ page_init2();
+}