Topic: Amount cell bug in customer_payments.php

I've tried to add an amount cell in this file. Usually, the inputted number will be automatically formatted. Instead of automatically formatted, it do nothing and I get this error in firebug :

TypeError: document.getElementById(...) is null
   

var val = document.getElementById(doc).innerHTML;

utils.js (line 250)

In this file, I already modified it and guess maybe my modification caused it. So I changed back to original version, but nothing had changed.

I use 2.3.20 and only half of it updated to 2.3.21 because I've heavily modified it. Anyone can help?

Re: Amount cell bug in customer_payments.php

Hello, anyone know why this happened? Please. I already tried with the lates version and it still have the problem.

Re: Amount cell bug in customer_payments.php

Solved, the javascript file must be edited too.

Re: Amount cell bug in customer_payments.php

Glad that you solved it.

Joe