Browse Source

added var check in KMDTransaction.js

master
Petr Balashov 8 years ago
parent
commit
61c52f96fa
  1. 4
      assets/scripts/kmd_wallet/KMDTransaction.js

4
assets/scripts/kmd_wallet/KMDTransaction.js

@ -39,9 +39,9 @@ function KMDGetPublicTransactions() {
$.each(AjaxOutputData, function(index, value) {
var tmp_category = '',
tmp_addr = AjaxOutputData[index].address;
tmp_addr = AjaxOutputData[index] ? AjaxOutputData[index].address : '';
if (!('address' in AjaxOutputData[index])) {
if (AjaxOutputData[index] && !('address' in AjaxOutputData[index])) {
tmp_addr = '<i class="icon fa-bullseye"></i> <span class="label label-dark">' + _lang[defaultLang].DASHBOARD.ZADDR_NOT_LISTED + '!</span>';
}
var tmp_secondsToString = secondsToString(AjaxOutputData[index].time);

Loading…
Cancel
Save