Reply
JavaScript error in LR 11 (27 Views)
Manni65
Occasional Visitor
Posts: 1
Registered: 02-10-2012
Message 1 of 1 (27 Views)

JavaScript error in LR 11

Short Info:

LR 11.0 with all patches for VUGen
AJAX C&S
GUI Mode
WinXP / IE7

Hello!

We have a problem in AJAX click & play. On replay a website all site components will be loaded correctly, then an error occurs in the LR log while trying to run JavaScript.

Like this:
f.functionname() is not a function ...
Can not execute JavaScript

And then the JavaScript-file is not executed by the LR. A js-file with the function his code I've found. The development team is for external, currently we are not allowed to question for help there.

The page and the js-file will run correctly in all browsers Firefox, IE7, IE8. So it has to be a LR problem.

How to get a LR compatible *js file?
1. Should we ask the HP support, to view the *.js file and send a corrected, which does just the same but can be replayed from LP? Or ask for a mini patch?

 

How to substitute the js-file without touching the one on webserver side?
2. If we solve the problem in the *.js file, we aren't allowed to install it into the test environment. So my question... can we integrate the corrected js-file into the LR and get him to use this, instead the original one on the webserver? For this task I was looking a time for a solution, but no result.
Because my english is not best, I try a second explanation. We want that the LR use the js-file from the LR project and not the one on the webserver. Both js-files have the same names.
The js-file is loaded and executed normally through the call in HTML, there is also the path written.

 

Big thanks in advance!!!

Please use plain text.