1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-15 05:57:23 +03:00

Check if the image exists to show the resize slider

This commit is contained in:
Daniel Molina 2016-04-15 16:29:52 +02:00
parent 6a1c6e836d
commit 0294ed455f

View File

@ -110,6 +110,8 @@ define(function(require){
var attr;
if (disk.SIZE) {
if (disabled){
attr = UserInputs.parse("SIZE","O|fixed|"+label+"||"+disk.SIZE);
} else {
@ -123,6 +125,7 @@ define(function(require){
}
UserInputs.insertAttributeInputMB(attr, $(".diskSlider", diskContext));
}
})
}
})