1
0
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:
Jorge Lobo 2020-04-24 10:17:18 +02:00 committed by GitHub
parent 52b65d6541
commit f97f9037df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();