diff options
author | Alex Legler <alex@a3li.li> | 2010-09-17 23:07:42 +0200 |
---|---|---|
committer | Alex Legler <alex@a3li.li> | 2010-09-17 23:07:42 +0200 |
commit | 90d7001a2277f3693d2e519a9d1c16edb32d0039 (patch) | |
tree | 166b1585ad4045dbae2ae23915f9ab79789ae576 /app/views/cve/list.html.erb | |
parent | Cleanup (diff) | |
download | glsamaker-90d7001a2277f3693d2e519a9d1c16edb32d0039.tar.gz glsamaker-90d7001a2277f3693d2e519a9d1c16edb32d0039.tar.bz2 glsamaker-90d7001a2277f3693d2e519a9d1c16edb32d0039.zip |
CVETool: Cleanup, properly link to it and back to the main application
Diffstat (limited to 'app/views/cve/list.html.erb')
-rw-r--r-- | app/views/cve/list.html.erb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/views/cve/list.html.erb b/app/views/cve/list.html.erb index 3a8e6d7..bb65bcc 100644 --- a/app/views/cve/list.html.erb +++ b/app/views/cve/list.html.erb @@ -42,7 +42,7 @@ function toolbar() { // bottom stuff { view: 'Button', rect: '5 940 188 24', anchors: 'left bottom right', text: 'Reload table', id: 'reload-table' }, - { view: 'Button', rect: '5 970 188 24', anchors: 'left bottom right', text: 'Close', id: 'close' } + { view: 'Button', rect: '5 970 188 24', anchors: 'left bottom right', text: 'Back to GLSAMaker', id: 'close' } ]; } @@ -246,6 +246,12 @@ uki("#cve-details").click( } ); +uki("#close").click( + function() { + window.location = "/"; + } +); + uki('Table').bind('dblclick', function() { cvepopup(uki('Table').selectedRow()[1]); }); |