mirror of https://github.com/apache/cloudstack.git
bug 8575: when mouse is over middle menu item, show tooltip related to this middle menu item.
This commit is contained in:
parent
811ec322b9
commit
fdd4146b22
|
|
@ -813,10 +813,10 @@
|
|||
<div class="midmenu_icons" id="icon_container" style="display: none">
|
||||
<img id="icon" /></div>
|
||||
<div class="midmenu_textbox">
|
||||
<p title="temp">
|
||||
<p id="first_row_container">
|
||||
<strong id="first_row"> </strong>
|
||||
</p>
|
||||
<span title="tmp1" id="second_row_container">
|
||||
<span id="second_row_container">
|
||||
<span id="second_row"> </span>
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1641,8 +1641,13 @@ function vmToMidmenu(jsonObj, $midmenuItem1) {
|
|||
$midmenuItem1.attr("id", getMidmenuId(jsonObj));
|
||||
|
||||
var vmName = getVmName(jsonObj.name, jsonObj.displayname);
|
||||
$midmenuItem1.find("#first_row").text(vmName);
|
||||
$midmenuItem1.find("#second_row").text(jsonObj.templatename);
|
||||
$midmenuItem1.find("#first_row").text(vmName);
|
||||
$midmenuItem1.find("#first_row_container").attr("title", vmName);
|
||||
|
||||
var templateName = fromdb(jsonObj.templatename);
|
||||
$midmenuItem1.find("#second_row").text(templateName);
|
||||
$midmenuItem1.find("#second_row_container").attr("title", templateName);
|
||||
|
||||
updateVmStateInMidMenu(jsonObj, $midmenuItem1);
|
||||
|
||||
$midmenuItem1.data("toRightPanelFn", vmToRightPanel);
|
||||
|
|
|
|||
Loading…
Reference in New Issue