Browse Source

The corrects a hereunto unknown very minor bug where data is not being check for value in the deposit calculator function.

devel
Jonathan Rosenbaum 8 years ago
parent
commit
7fb848f7d4
  1. 4
      js/transaction.js

4
js/transaction.js

@ -450,6 +450,7 @@ $(function() {
$.post("json/transaction.php",{"deposit": deposit}, function(data) { $.post("json/transaction.php",{"deposit": deposit}, function(data) {
if (data) {
var obj = $.parseJSON(data); var obj = $.parseJSON(data);
$.each(obj,function(k,v){ $.each(obj,function(k,v){
@ -478,8 +479,9 @@ $(function() {
$("#" + k + "_difference span").text("n/a"); $("#" + k + "_difference span").text("n/a");
} }
});
}); // each
} // if data
}); // end function }); // end function

Loading…
Cancel
Save