fix bug 6330 - instance page action menu not displaying correctly on IE7.

This commit is contained in:
Jessica Wang 2010-09-30 11:19:18 -07:00
parent 154880cebf
commit 68c8d33ff2
2 changed files with 10 additions and 1 deletions

View File

@ -139,7 +139,7 @@ long milliseconds = new Date().getTime();
<!-- VM Instance Template -->
<div id="vm_instance_template" style="width: 100%; height: auto; float: left; padding: 0;
margin: 0; display: none">
<div class="vm_rows">
<div class="vm_rows" id="vm_rows">
<div class="vm_rows_top">
<div class="vm_genrows_cell" style="width: 7%;">
<div class="admin_vmstatus">

View File

@ -1062,6 +1062,15 @@ function showInstancesTab(p_domainId, p_account) {
}
break;
case "vm_actions" :
//fix for zIndex bug of IE7
vmInstance.find('#vm_rows').each(function() {
$(this).css("z-index", "1");
});
vmInstance.find('#vm_actions_container').each(function() {
$(this).css("z-ndex", "2");
});
vmInstance.find("#vm_actions_container").slideDown("fast");
break;
case "vm_actions_close" :