diff --git a/classes/display/HTMLDisplayHandler.php b/classes/display/HTMLDisplayHandler.php
index 5d2f72acd..ec4ed8e2f 100644
--- a/classes/display/HTMLDisplayHandler.php
+++ b/classes/display/HTMLDisplayHandler.php
@@ -6,13 +6,15 @@ class HTMLDisplayHandler
/**
* jQuery versions
*/
- const JQUERY_V1 = '1.12.4';
- const JQUERY_V2 = '2.2.4';
+ public const JQUERY_V2 = '2.2.4';
+ public const JQUERY_V2_MIGRATE = '1.4.1';
+ public const JQUERY_V3 = '3.6.3';
+ public const JQUERY_V3_MIGRATE = '3.4.0';
/**
* Default viewport setting
*/
- const DEFAULT_VIEWPORT = 'width=device-width, initial-scale=1.0, user-scalable=yes';
+ public const DEFAULT_VIEWPORT = 'width=device-width, initial-scale=1.0, user-scalable=yes';
/**
* Reserved scripts
@@ -674,8 +676,11 @@ class HTMLDisplayHandler
private function _loadCommonJSCSS()
{
Context::loadFile(array('./common/css/rhymix.scss', '', '', -1600000000), true);
+
+ $jquery_version = self::JQUERY_V2;
+ $jquery_migrate_version = self::JQUERY_V2_MIGRATE;
$original_file_list = array(
- 'plugins/jquery.migrate/jquery-migrate-1.4.1.min.js',
+ 'plugins/jquery.migrate/jquery-migrate-' . $jquery_migrate_version . '.min.js',
'plugins/cookie/js.cookie.min.js',
'plugins/blankshield/blankshield.min.js',
'plugins/uri/URI.min.js',
@@ -685,7 +690,6 @@ class HTMLDisplayHandler
'xml_handler.js',
'xml_js_filter.js',
);
- $jquery_version = self::JQUERY_V2;
if(config('view.minify_scripts') === 'none')
{
diff --git a/common/js/jquery-3.6.3.js b/common/js/jquery-3.6.3.js
new file mode 100644
index 000000000..b86de89ab
--- /dev/null
+++ b/common/js/jquery-3.6.3.js
@@ -0,0 +1,10993 @@
+/*!
+ * jQuery JavaScript Library v3.6.3
+ * https://jquery.com/
+ *
+ * Includes Sizzle.js
+ * https://sizzlejs.com/
+ *
+ * Copyright OpenJS Foundation and other contributors
+ * Released under the MIT license
+ * https://jquery.org/license
+ *
+ * Date: 2022-12-20T21:28Z
+ */
+( function( global, factory ) {
+
+ "use strict";
+
+ if ( typeof module === "object" && typeof module.exports === "object" ) {
+
+ // For CommonJS and CommonJS-like environments where a proper `window`
+ // is present, execute the factory and get jQuery.
+ // For environments that do not have a `window` with a `document`
+ // (such as Node.js), expose a factory as module.exports.
+ // This accentuates the need for the creation of a real `window`.
+ // e.g. var jQuery = require("jquery")(window);
+ // See ticket trac-14549 for more info.
+ module.exports = global.document ?
+ factory( global, true ) :
+ function( w ) {
+ if ( !w.document ) {
+ throw new Error( "jQuery requires a window with a document" );
+ }
+ return factory( w );
+ };
+ } else {
+ factory( global );
+ }
+
+// Pass this if window is not defined yet
+} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) {
+
+// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1
+// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode
+// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common
+// enough that all such attempts are guarded in a try block.
+"use strict";
+
+var arr = [];
+
+var getProto = Object.getPrototypeOf;
+
+var slice = arr.slice;
+
+var flat = arr.flat ? function( array ) {
+ return arr.flat.call( array );
+} : function( array ) {
+ return arr.concat.apply( [], array );
+};
+
+
+var push = arr.push;
+
+var indexOf = arr.indexOf;
+
+var class2type = {};
+
+var toString = class2type.toString;
+
+var hasOwn = class2type.hasOwnProperty;
+
+var fnToString = hasOwn.toString;
+
+var ObjectFunctionString = fnToString.call( Object );
+
+var support = {};
+
+var isFunction = function isFunction( obj ) {
+
+ // Support: Chrome <=57, Firefox <=52
+ // In some browsers, typeof returns "function" for HTML