Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

JavaScript code in source code not visible

  • amritdeep
  • amritdeep's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 11 months ago #135242 by amritdeep
Hi,

I am using limesurvey 2.50+ (build 160421).

JavaScript code for alert is written in source code of question and saved.
Code is working fine.
But after saving the question , i want to edit the JavaScript code in the source code but unfortunately JavaScript code is not visible in source code (at front end its working fine)

11.png (Before Saving Question)





22.png (After Saving Question)
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 11 months ago #135251 by tpartner
Replied by tpartner on topic JavaScript code in source code not visible
I can reproduce the problem with the latest GIT pull. Please file a bug report and post the link to the bug here so we can follow the progress.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • amritdeep
  • amritdeep's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 11 months ago #135314 by amritdeep
Replied by amritdeep on topic JavaScript code in source code not visible
I have reported the bug. How much time it will take to resolve it, because its urgent....
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 11 months ago #135321 by tpartner
Replied by tpartner on topic JavaScript code in source code not visible
You can work around the problem by switching the HTML editor mode to "Popup".

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • amritdeep
  • amritdeep's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 11 months ago - 7 years 11 months ago #135331 by amritdeep
Replied by amritdeep on topic JavaScript code in source code not visible
Its working.....
Thanks a lot.....
Last edit: 7 years 11 months ago by amritdeep.
The topic has been locked.
More
7 years 11 months ago #135377 by codelogic
Replied by codelogic on topic JavaScript code in source code not visible
Yes this worked!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose