diff options
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'); - } - })}); -}); - - |