aboutsummaryrefslogtreecommitdiffstats
path: root/src/medsrv/templates/static/script.js
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2015-11-09 16:37:02 +0100
committerTobias Brunner <tobias@strongswan.org>2015-11-09 16:37:02 +0100
commit9953e76c3dc7de15a4024946820ea2d8b90ed996 (patch)
tree00f968ec8691cb1503b7517c36ab198d1090020f /src/medsrv/templates/static/script.js
parentc9401f9ca3c85b56c6adbecbb8dcd12ecb75c939 (diff)
parentb153d07bab14cf2fa72f7264372a3ee44147b668 (diff)
downloadstrongswan-9953e76c3dc7de15a4024946820ea2d8b90ed996.tar.bz2
strongswan-9953e76c3dc7de15a4024946820ea2d8b90ed996.tar.xz
Merge branch 'medsrv-js-css'
Removes the outdated version of MooTools and actually all JavaScript code as that stuff can now be done with CSS directly. Fixes #1190.
Diffstat (limited to 'src/medsrv/templates/static/script.js')
-rw-r--r--src/medsrv/templates/static/script.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/medsrv/templates/static/script.js b/src/medsrv/templates/static/script.js
deleted file mode 100644
index f2ab1e009..000000000
--- a/src/medsrv/templates/static/script.js
+++ /dev/null
@@ -1,13 +0,0 @@
-window.addEvent('domready', function() {
- $$('.focus').each(function(e){e.focus();});
- $$('table.list tr:nth-child(2n) td').each(function(e){e.set('class', 'even');});
- $$('table.list tr:nth-child(2n+1) td').each(function(e){e.set('class', 'odd');});
- $$('table.list tr th').each(function(e){e.set('class', 'head');});
- $$('table.list tr td').each(function(e){e.addEvents({
- 'click': function(){
- location.href = this.getChildren('a')[0].get('href');
- }
- })});
-});
-
-