mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-11 05:17:41 +03:00
Solved bug in capacity-create.js (#462)
This commit is contained in:
parent
23bd00e642
commit
9a56682374
@ -201,7 +201,9 @@ define(function(require) {
|
||||
$.each(["memory","cpu","vcpu"], function(i,classname){
|
||||
$("."+classname+"_modify_type", context).on("change", function(){
|
||||
$("."+classname+"_modify_opt", context).hide();
|
||||
$("."+classname+"_modify_opt."+this.value, context).show();
|
||||
if(this.value != ""){
|
||||
$("."+classname+"_modify_opt."+this.value, context).show();
|
||||
}
|
||||
|
||||
$("#memory_unit", context).change();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user