1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

B #5543: Clear OPENNEBULA_MANAGED attribute (#1495)

on change disk image

(cherry picked from commit d4fc5cb14a86ea63c3b2165bf023aa13bb3b3fee)
This commit is contained in:
Frederick Borges 2021-09-29 12:53:45 +02:00 committed by Tino Vazquez
parent 9b517302c0
commit 37ed63f720
No known key found for this signature in database
GPG Key ID: 14201E424D02047E

View File

@ -87,6 +87,7 @@ define(function(require) {
"select_callback": function(aData, options) {
// If the image is selected by Id, avoid overwriting it with name+uname
if ($("#IMAGE_ID", context).val() != aData[options.id_index]) {
$("#OPENNEBULA_MANAGED", context).val("");
$("#IMAGE_ID", context).val("");
$("#IMAGE", context).val(aData[options.name_index]);
$("#IMAGE_UNAME", context).val(aData[options.uname_index]);