diff options
author | Tobias Brunner <tobias@strongswan.org> | 2015-11-09 16:37:02 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2015-11-09 16:37:02 +0100 |
commit | 9953e76c3dc7de15a4024946820ea2d8b90ed996 (patch) | |
tree | 00f968ec8691cb1503b7517c36ab198d1090020f /src/medsrv/templates/static/script.js | |
parent | c9401f9ca3c85b56c6adbecbb8dcd12ecb75c939 (diff) | |
parent | b153d07bab14cf2fa72f7264372a3ee44147b668 (diff) | |
download | strongswan-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.js | 13 |
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'); - } - })}); -}); - - |