mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02: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() {
|
function initVMWizard() {
|
||||||
$vmPopup = $("#vm_popup");
|
$vmPopup = $("#vm_popup");
|
||||||
|
|
||||||
if (isAdmin() || (isDomainAdmin() && getUserPublicTemplateEnabled() == "true")) {
|
if (isAdmin() || (getUserPublicTemplateEnabled() == "true")) {
|
||||||
$vmPopup.find("#wiz_community").show();
|
$vmPopup.find("#wiz_community").show();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user