mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
fix detach cdrom problem and cd-rom list's layout problem
This commit is contained in:
parent
509c57d8ab
commit
07be61a557
2 changed files with 31 additions and 32 deletions
|
|
@ -649,7 +649,6 @@ def instance(request, compute_id, vname):
|
|||
|
||||
if 'detach_cdrom' in request.POST and allow_admin_or_not_template:
|
||||
dev = request.POST.get('detach_cdrom', '')
|
||||
path = request.POST.get('path', '')
|
||||
conn.detach_disk(dev)
|
||||
msg = _('Detach CD-ROM: ' + dev)
|
||||
addlogmsg(request.user.username, instance.name, msg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue