bug 8394: end user should be able to see community template if global setting "user.public.template.enabled" is true.

This commit is contained in:
Jessica Wang 2011-02-04 13:23:19 -08:00
parent 95a6a09ca7
commit fbac45cf0f

View File

@ -352,7 +352,7 @@ var currentStepInVmPopup = 1;
function initVMWizard() {
$vmPopup = $("#vm_popup");
if (isAdmin() || (isDomainAdmin() && getUserPublicTemplateEnabled() == "true")) {
if (isAdmin() || (getUserPublicTemplateEnabled() == "true")) {
$vmPopup.find("#wiz_community").show();
}
else {