Updating the JQuery plugin

<oXygen/> general issues.
mark_whisler
Posts: 18

Updating the JQuery plugin

Sat Dec 17, 2016 1:55 am

Our security office identified a potential weakness in our WebHelp system, and isolated it to an "older" version of Jquery.js. When I go look at the Jquery website, they are offering 3.1.1.

Has anyone updated to this version and are there any potential pitfalls?

.MW
bogdan_cercelaru
Posts: 205

Re: Updating the JQuery plugin

Tue Dec 20, 2016 1:30 pm

Hello,

When using DITA Map WebHelp Responsive transformation scenario the jQuery library can be updated by following the next steps:
  1. Copy the new jQuery file in the "${DITA_OT_DIR}/plugins/com.oxygenxml.webhelp/templates/dita/bootstrap/resources/js" directory
  2. Edit "${DITA_OT_DIR}/plugins/com.oxygenxml.webhelp/templates/dita/bootstrap/wt_index.html", "${DITA_OT_DIR}/plugins/com.oxygenxml.webhelp/templates/dita/bootstrap/wt_search.html", "${DITA_OT_DIR}/plugins/com.oxygenxml.webhelp/templates/dita/bootstrap/wt_terms.html" and "${DITA_OT_DIR}/plugins/com.oxygenxml.webhelp/templates/dita/bootstrap/wt_topic.html" files and change the path to the jQuery library.
    You can use "${oxygen-webhelp-template-dir}/resources/js" macro to refer to the directory that contains the JavaScript files from the "${DITA_OT_DIR}/plugins/com.oxygenxml.webhelp/templates/dita/bootstrap/resources/js" directory
Please note that the actual WebHelp Responsive output has not been tested with other version of jQuery library than the one included in Oxygen (jQuery version 1.11.3 for Oxygen v18.1).

Regards,
Bogdan
Bogdan Cercelaru
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 1 guest