1 (edited by thhui 06/03/2010 01:52:20 pm)

Topic: Javascript error

When printing long report in pdf,
e.g  Printing GL transactions report for whole year,

there are always errors shown as the red warning triangle whereas the report is really OK but not shown on the homepage. Nevertheless it could be found on the directory of company/0/pdf_files folder.

When I turn off the javascript,
I could see the report under the website link as
reporting/prn_redirect.php

Could this bug be fixed as a few page really needs javascript to operate?

Thanks a lot in advance!!!

Re: Javascript error

Solved by seeing another post recommended by itronics

Yes, this have to be timeout. You can fix it about line 39 in utils.js. I will consider changing it in next minor release for all reports.
Janusz

I apply this to

js/utils.js

    tout = tout | 15000;    // default timeout value
    set_mark(tout>60000 ? 'progressbar.gif' : 'ajax-loader.gif');

and it works.

Re: Javascript error

Thanks thhui,

I will ask Janusz to fix this, when he returns to office. He is out in no Internet-land at present.

/Joe