bug ReferenceError: targeurl is not defined

Signed-off-by: Marc Delisle <marc@infomarc.info>
Merge branch 'QA_4_2'
Fix merge conflict

Signed-off-by: Marc Delisle <marc@infomarc.info>