mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
on change disk image (cherry picked from commit d4fc5cb14a86ea63c3b2165bf023aa13bb3b3fee)
This commit is contained in:
parent
9b517302c0
commit
37ed63f720
@ -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]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user