cloudStack UI - Secondary Storage page - fix a bug "secondRowText is not defined".

This commit is contained in:
Jessica Wang 2011-07-19 16:52:26 -07:00
parent ebcb76f14a
commit d6b3a37e03

View File

@ -68,7 +68,7 @@ function secondaryStorageToMidmenu(jsonObj, $midmenuItem1) {
$midmenuItem1.find("#first_row").text(firstRowText.substring(0,midMenuFirstRowLength));
$midmenuItem1.find("#first_row_container").attr("title", firstRowText);
var secondRowText = fromdb(jsonObj.id);
var secondRowText = fromdb(jsonObj.id).toString();
$midmenuItem1.find("#second_row").text(secondRowText.substring(0,midMenuSecondRowLength));
$midmenuItem1.find("#second_row_container").attr("title", secondRowText);
}