From 83fd1dc27c074d232d7c90a6d938e87440586db3 Mon Sep 17 00:00:00 2001 From: Jorge Miguel Lobo Escalona <47326048+jloboescalona2@users.noreply.github.com> Date: Mon, 1 Mar 2021 16:02:56 +0100 Subject: [PATCH] B #-: add tag file (#898) Signed-off-by: Jorge Lobo --- .../public/app/tabs/files-tab/form-panels/create-common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sunstone/public/app/tabs/files-tab/form-panels/create-common.js b/src/sunstone/public/app/tabs/files-tab/form-panels/create-common.js index 9760a123a2..68c056a922 100644 --- a/src/sunstone/public/app/tabs/files-tab/form-panels/create-common.js +++ b/src/sunstone/public/app/tabs/files-tab/form-panels/create-common.js @@ -509,7 +509,7 @@ define(function(require) { function _submitAdvanced(context) { var template = $("#template", context).val(); - var ds_id = $("#img_datastore_raw .resource_list_select", context).val(); + var ds_id = $("#"+prepend+"_datastore_raw .resource_list_select", context).val(); if (!ds_id) { Notifier.notifyError(Locale.tr("Please select a datastore for this image"));