bug 8246: remove temporary UI fix since API Bug 7410 has been fixed.

This commit is contained in:
Jessica Wang 2011-02-08 17:19:57 -08:00
parent 506beb8365
commit b090c3b77f
1 changed files with 3 additions and 8 deletions

View File

@ -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";