From 0e2299d933e732465cc6968bf72e817c6058a630 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Tue, 18 Nov 2014 12:00:27 -0800 Subject: [PATCH] CLOUDSTACK-7498: UI > ISO > Register ISO action > a javascript error "osTypeObjs is not defined" comes and goes. --- ui/scripts/templates.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/scripts/templates.js b/ui/scripts/templates.js index b8b85348c3f..28145d50e80 100644 --- a/ui/scripts/templates.js +++ b/ui/scripts/templates.js @@ -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