From b090c3b77f67ab2ab13d1de5ceb505cda5543337 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Tue, 8 Feb 2011 17:19:57 -0800 Subject: [PATCH] bug 8246: remove temporary UI fix since API Bug 7410 has been fixed. --- ui/scripts/cloud.core.instance.js | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/ui/scripts/cloud.core.instance.js b/ui/scripts/cloud.core.instance.js index 5895d02ce2b..3717b188a3b 100644 --- a/ui/scripts/cloud.core.instance.js +++ b/ui/scripts/cloud.core.instance.js @@ -615,17 +615,12 @@ function initVMWizard() { container.append($newTemplate.show()); } - - $vmPopup.find("#step1").find("#next_page").show(); //delete this line and uncomment the next 4 lines when bug 7410 is fixed ("pagesize is not working correctly on listTemplates API and listISOs API") - /* if(items.length < vmPopupTemplatePageSize) $vmPopup.find("#step1").find("#next_page").hide(); else - $vmPopup.find("#step1").find("#next_page").show(); - */ - - - } else { + $vmPopup.find("#step1").find("#next_page").show(); + } + else { var msg; if (selectedTemplateTypeInVmPopup != "blank") msg = "No templates available";