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