Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: event.returnValue is deprecated

event.returnValue is deprecated 2 years 9 months ago #104942

  • andersonelias
  • andersonelias's Avatar
  • Offline
  • Junior Lime
  • Posts: 37
  • Thank you received: 1
  • Karma: 0
Hi,
Everytime I open a survey, the web console always give me this output.
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.

My LS Version 2.05+ Build 140116, but I notice it on the earlier Version too. Is it something that I have to change or update ?

Thank you for the support :)
The administrator has disabled public write access.

event.returnValue is deprecated 2 years 9 months ago #104945

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9572
  • Thank you received: 1374
  • Karma: 390
Hi, in a survey page or a admin page ?
If you have a console: you have the file and the line.

We can surely fix this if we know the js file where this is set. Best is to put a bug report.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.

event.returnValue is deprecated 2 years 9 months ago #104948

  • andersonelias
  • andersonelias's Avatar
  • Offline
  • Junior Lime
  • Posts: 37
  • Thank you received: 1
  • Karma: 0
On Survey Page.

On Admin Page I got this
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
body.scrollLeft is deprecated in strict mode. Please use 'documentElement.scrollLeft' if in strict mode and 'body.scrollLeft' only if in quirks mode.
body.scrollTop is deprecated in strict mode. Please use 'documentElement.scrollTop' if in strict mode and 'body.scrollTop' only if in quirks mode.

But it is weird, it didn't show the file and the line. (Using the latest chrome)
The administrator has disabled public write access.

event.returnValue is deprecated 2 years 9 months ago #104949

  • andersonelias
  • andersonelias's Avatar
  • Offline
  • Junior Lime
  • Posts: 37
  • Thank you received: 1
  • Karma: 0
After a lot of random clicks

Admin Page :
event.returnValue is deprecated. Please use the standard event.preventDefault() instead. jquery-1.10.2.min.js:5
body.scrollLeft is deprecated in strict mode. Please use 'documentElement.scrollLeft' if in strict mode and 'body.scrollLeft' only if in quirks mode. jquery.qtip.min.js:2
body.scrollTop is deprecated in strict mode. Please use 'documentElement.scrollTop' if in strict mode and 'body.scrollTop' only if in quirks mode. jquery.qtip.min.js:2

Survey Page :
event.returnValue is deprecated. Please use the standard event.preventDefault() instead. jquery-1.10.2.min.js:5

Directory third_party/jquery/file
Last Edit: 2 years 9 months ago by andersonelias.
The administrator has disabled public write access.
Time to create page: 0.204 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form