Javascript on custom forms

I added a java script code below on custom form, its working (on data entry module) but am failing to run a data set report ; it says “please wait”.
Other forms which do not have java scripts am able to run a data set report. I have tried to clear browser cache, cache inside dhis2, and even tried to

reboot my server but still not working . I have attached a log file and a data set photo for your help.

image

log file.rtf (7.87 KB)

Hi Conrad,

good point. Can you please use chome, click F12 -> console, and post any errors that appear there while running the report?

Lars

···

On Sat, Sep 7, 2013 at 10:22 AM, conrad muyepa cmuyepa@gmail.com wrote:

I added a java script code below on custom form, its working (on data entry module) but am failing to run a data set report ; it says “please wait”.

Other forms which do not have java scripts am able to run a data set report. I have tried to clear browser cache, cache inside dhis2, and even tried to

reboot my server but still not working . I have attached a log file and a data set photo for your help.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Thanks, you spotted a bug, its been fixed in trunk and 2.12.

Get it from here in 30 min: http://www.dhis2.org/downloads

Lars

···

On Sun, Sep 8, 2013 at 11:07 AM, conrad muyepa <cmuyepa@gmail.com> wrote:

Uncaught ReferenceError: onValueSave is not defined