bug 10790: cloudStack - Volume page - hide Storage from domain-admin as well.

This commit is contained in:
Jessica Wang 2011-08-19 15:04:39 -07:00
parent 5696543359
commit 0cce5c44c2

View File

@ -433,7 +433,7 @@ function volumeJsonToDetailsTab(){
$thisTab.find("#vm_name").text(getVmName(jsonObj.vmname, jsonObj.vmdisplayname) + " (" + fromdb(jsonObj.vmstate) + ")");
setDateField(jsonObj.created, $thisTab.find("#created"));
if(isAdmin() || isDomainAdmin()) {
if(isAdmin()) {
$thisTab.find("#storage").text(fromdb(jsonObj.storage));
$thisTab.find("#storage_container").show();
}