mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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:
parent
95a6a09ca7
commit
fbac45cf0f
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user