mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
M #-: fix selector val (#4599)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
This commit is contained in:
parent
52b65d6541
commit
f97f9037df
@ -253,8 +253,7 @@ define(function (require) {
|
||||
'disk-snapshot-revert',
|
||||
'disk-snapshot-delete'
|
||||
];
|
||||
|
||||
if(actions.includes(that.selector.val())){
|
||||
if(that.selector && that.selector.val && actions.includes(that.selector.val())){
|
||||
var snap_name = $("#snapname").val();
|
||||
var snap_id = $("#snapid").val();
|
||||
var disk_id = $("#diskid").val();
|
||||
|
Loading…
x
Reference in New Issue
Block a user