new UI - apply noNull() or fromdb() to all fields that get value from API.

This commit is contained in:
Jessica Wang 2010-11-15 14:13:17 -08:00
parent 8b106c7271
commit f071f5c5b3
1 changed files with 2 additions and 2 deletions

View File

@ -78,10 +78,10 @@ function snapshotJsonToDetailsTab() {
$thisTab.data("jsonObj", jsonObj);
$midmenuItem1.data("jsonObj", jsonObj);
$thisTab.find("#id").text(jsonObj.id);
$thisTab.find("#id").text(noNull(jsonObj.id));
$thisTab.find("#name").text(fromdb(jsonObj.name));
$thisTab.find("#volume_name").text(fromdb(jsonObj.volumename));
$thisTab.find("#interval_type").text(jsonObj.intervaltype);
$thisTab.find("#interval_type").text(fromdb(jsonObj.intervaltype));
$thisTab.find("#account").text(fromdb(jsonObj.account));
$thisTab.find("#domain").text(fromdb(jsonObj.domain));
setDateField(jsonObj.created, $thisTab.find("#created"));