From f8b6a9be9c6650b0c80700337fcac00f538cbd09 Mon Sep 17 00:00:00 2001 From: Lvbo163 Date: Mon, 25 Feb 2019 16:14:31 +0800 Subject: fix dialog populate version list error Issue-ID: AAI-1949 Change-Id: I8a1422dc0b2291816e27108bb6e49a8bc6a07f98 Signed-off-by: Lvbo163 --- portal/src/main/webapp/extsys/vim/js/vimController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'portal/src/main') diff --git a/portal/src/main/webapp/extsys/vim/js/vimController.js b/portal/src/main/webapp/extsys/vim/js/vimController.js index cbd836a..d4ea67d 100644 --- a/portal/src/main/webapp/extsys/vim/js/vimController.js +++ b/portal/src/main/webapp/extsys/vim/js/vimController.js @@ -293,6 +293,7 @@ var vm = avalon "success": function (resp, statusText, jqXHR) { if (jqXHR.status == "200") { vm.vimTypeObj = resp; + vm.getVimVerions(vm.vimTypeObj[0]["vim_type"]); } else { vm.vimTypeObj = []; @@ -308,7 +309,6 @@ var vm = avalon resUtil.tooltipVimStatus(); } }); - vm.getVimVerions(vm.vimTypeObj[0]["vim_type"]); }, getPhysicalLocationIds: function(){ $.ajax({ -- cgit 1.2.3-korg