mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
CLOUDSTACK-7498: UI > ISO > Register ISO action > a javascript error "osTypeObjs is not defined" comes and goes.
This commit is contained in:
parent
9c328cb9dd
commit
ade2517a47
@ -1566,13 +1566,13 @@
|
||||
dataType: "json",
|
||||
async: false,
|
||||
success: function(json) {
|
||||
osTypeObjs = json.listostypesresponse.ostype;
|
||||
ostypeObjs = json.listostypesresponse.ostype;
|
||||
}
|
||||
});
|
||||
}
|
||||
var items = [];
|
||||
//items.push({id: "", description: "None"}); //shouldn't have None option when bootable is checked
|
||||
$(osTypeObjs).each(function() {
|
||||
$(ostypeObjs).each(function() {
|
||||
items.push({
|
||||
id: this.id,
|
||||
description: this.description
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user