Repository: cloudstack Updated Branches: refs/heads/master c5399cdef -> 0e2299d93
CLOUDSTACK-7498: UI > ISO > Register ISO action > a javascript error "osTypeObjs is not defined" comes and goes. Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/0e2299d9 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/0e2299d9 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/0e2299d9 Branch: refs/heads/master Commit: 0e2299d933e732465cc6968bf72e817c6058a630 Parents: c5399cd Author: Jessica Wang <jessicaw...@apache.org> Authored: Tue Nov 18 12:00:27 2014 -0800 Committer: Jessica Wang <jessicaw...@apache.org> Committed: Tue Nov 18 12:02:00 2014 -0800 ---------------------------------------------------------------------- ui/scripts/templates.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/0e2299d9/ui/scripts/templates.js ---------------------------------------------------------------------- diff --git a/ui/scripts/templates.js b/ui/scripts/templates.js index b8b8534..28145d5 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