Commit 7c5d602e by Kálmán Viktor

dashboard: remove unnecessary variable

parent d8b69d4e
...@@ -47,7 +47,6 @@ $(function () { ...@@ -47,7 +47,6 @@ $(function () {
/* for VM removes buttons */ /* for VM removes buttons */
$('.vm-delete').click(function() { $('.vm-delete').click(function() {
var vm_pk = $(this).data('vm-pk'); var vm_pk = $(this).data('vm-pk');
text = "Are you sure you want to delete this VM?";
var dir = window.location.pathname.indexOf('list') == -1; var dir = window.location.pathname.indexOf('list') == -1;
addModalConfirmation(deleteVm, addModalConfirmation(deleteVm,
{ 'url': '/dashboard/vm/delete/' + vm_pk + '/', { 'url': '/dashboard/vm/delete/' + vm_pk + '/',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment