summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2010-09-17 23:07:42 +0200
committerAlex Legler <alex@a3li.li>2010-09-17 23:07:42 +0200
commit90d7001a2277f3693d2e519a9d1c16edb32d0039 (patch)
tree166b1585ad4045dbae2ae23915f9ab79789ae576 /app/views/cve/list.html.erb
parentCleanup (diff)
downloadglsamaker-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.erb8
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]);
});