Mercurial > hg > fapweb
comparison admajax.js.php @ 1070:e23057465ca2
Some more AJAX fixes.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 24 Jan 2017 17:37:50 +0200 |
parents | 5f92fa5e683a |
children | 76e11ae923a7 |
comparison
equal
deleted
inserted
replaced
1069:5f92fa5e683a | 1070:e23057465ca2 |
---|---|
1009 | 1009 |
1010 function skipToNextSlide() | 1010 function skipToNextSlide() |
1011 { | 1011 { |
1012 jsSendPOSTRequest("action=ctrl&type=skipToNextSlide"); | 1012 jsSendPOSTRequest("action=ctrl&type=skipToNextSlide"); |
1013 } | 1013 } |
1014 | |
1015 | |
1016 document.addEventListener("DOMContentLoaded", | |
1017 function () | |
1018 { | |
1019 jsRegisterTab("CC", "Settings", "Settings"); | |
1020 jsRegisterTab("CC", "News", "News"); | |
1021 jsRegisterTab("CC", "Attendees", "Attendees"); | |
1022 jsRegisterTab("CC", "Voting", "Voting"); | |
1023 jsRegisterTab("CC", "Compos", "Compos"); | |
1024 jsRegisterTab("CC", "Entries", "Entries"); | |
1025 jsRegisterTab("CC", "InfoSys", "Infosystem"); | |
1026 jsUpdateTabList("CC", | |
1027 "<a class=\"admin\" href=\"admlogout.php\">Logout</a> " + | |
1028 "<a class=\"admin\" href=\"about\">Mainpage</a>"); | |
1029 jsSwitchActiveTab("CC", "Settings"); | |
1030 }); |