From 6a3b71805071544c674d2a22417911a63ca6ce48 Mon Sep 17 00:00:00 2001 From: Kasalehlia <kasalehlia@clonejo.de> Date: Wed, 13 Jan 2016 19:30:35 +0100 Subject: [PATCH] =?UTF-8?q?key=20inhalt=20kann=20jetzt=20automatisch=20ein?= =?UTF-8?q?gef=C3=BCgt=20werden?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- eintragen.template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eintragen.template b/eintragen.template index 4e6f7fe..5388b3b 100644 --- a/eintragen.template +++ b/eintragen.template @@ -24,6 +24,8 @@ <p>Die Schlüsselinformationen sollten so eingetragen werden:</p> <!-- totally a random key... --> <pre># Beispiel # beispiel@freifunk-bs.de<br>70e9157d98c9780c27ea17e95e27885997cf321225050f397f0fa82ac1733639</pre> + <p>oder ohne Kontaktdaten so: + <pre># Beispiel # <br>70e9157d98c9780c27ea17e95e27885997cf321225050f397f0fa82ac1733639</pre> </div> </div> </div> @@ -43,6 +45,9 @@ $(function () { }, 'json') return false }); + if (document.location.hash !== '') { + $('#key').val(decodeURIComponent(document.location.hash)); + } }); </script> </body> -- GitLab