forked from ScoDoc/ScoDoc
Upgrade jQuery to 3.7.1. (#943)
This commit is contained in:
parent
f6897a2c12
commit
77adda5c90
@ -97,19 +97,10 @@ _HTML_BEGIN = f"""<!DOCTYPE html>
|
|||||||
<link href="{scu.STATIC_DIR}/css/gt_table.css" rel="stylesheet" type="text/css" />
|
<link href="{scu.STATIC_DIR}/css/gt_table.css" rel="stylesheet" type="text/css" />
|
||||||
<script src="{scu.STATIC_DIR}/libjs/menu.js"></script>
|
<script src="{scu.STATIC_DIR}/libjs/menu.js"></script>
|
||||||
<script src="{scu.STATIC_DIR}/libjs/bubble.js"></script>
|
<script src="{scu.STATIC_DIR}/libjs/bubble.js"></script>
|
||||||
<script>
|
|
||||||
window.onload=function(){{
|
|
||||||
if (document.getElementById('gtrcontent')) {{
|
|
||||||
enableTooltips("gtrcontent");
|
|
||||||
}}
|
|
||||||
if (document.getElementById('sidebar')) {{
|
|
||||||
enableTooltips("sidebar");
|
|
||||||
}}
|
|
||||||
}};
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<script src="{scu.STATIC_DIR}/jQuery/jquery.js"></script>
|
<script src="{scu.STATIC_DIR}/jQuery/jquery.js"></script>
|
||||||
<script src="{scu.STATIC_DIR}/jQuery/jquery-migrate-1.2.0.min.js"></script>
|
<script src="{scu.STATIC_DIR}/jQuery/jquery-migrate-3.5.2.min.js"></script>
|
||||||
<script src="{scu.STATIC_DIR}/libjs/jquery.field.min.js"></script>
|
<script src="{scu.STATIC_DIR}/libjs/jquery.field.min.js"></script>
|
||||||
|
|
||||||
<script src="{scu.STATIC_DIR}/libjs/jquery-ui-1.10.4.custom/js/jquery-ui-1.10.4.custom.min.js"></script>
|
<script src="{scu.STATIC_DIR}/libjs/jquery-ui-1.10.4.custom/js/jquery-ui-1.10.4.custom.min.js"></script>
|
||||||
@ -126,6 +117,17 @@ _HTML_BEGIN = f"""<!DOCTYPE html>
|
|||||||
|
|
||||||
<script src="{scu.STATIC_DIR}/libjs/qtip/jquery.qtip-3.0.3.min.js"></script>
|
<script src="{scu.STATIC_DIR}/libjs/qtip/jquery.qtip-3.0.3.min.js"></script>
|
||||||
<link type="text/css" rel="stylesheet" href="{scu.STATIC_DIR}/libjs/qtip/jquery.qtip-3.0.3.min.css" />
|
<link type="text/css" rel="stylesheet" href="{scu.STATIC_DIR}/libjs/qtip/jquery.qtip-3.0.3.min.css" />
|
||||||
|
|
||||||
|
<script>
|
||||||
|
document.addEventListener('DOMContentLoaded', function() {{
|
||||||
|
if (document.getElementById('gtrcontent')) {{
|
||||||
|
enableTooltips("gtrcontent");
|
||||||
|
}}
|
||||||
|
if (document.getElementById('sidebar')) {{
|
||||||
|
enableTooltips("sidebar");
|
||||||
|
}}
|
||||||
|
}});
|
||||||
|
</script>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
2
app/static/jQuery/jquery.js
vendored
2
app/static/jQuery/jquery.js
vendored
@ -1 +1 @@
|
|||||||
jquery-1.12.4.min.js
|
jquery-3.7.1.min.js
|
@ -1,4 +1,5 @@
|
|||||||
/* -*- mode: javascript -*-
|
/* -*- mode: javascript -*-
|
||||||
|
* Legacy code used by old group editor. To be removed.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function getMouseXY(e) // works on IE6,FF,Moz,Opera7
|
function getMouseXY(e) // works on IE6,FF,Moz,Opera7
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
<script src="{{scu.STATIC_DIR}}/jQuery/jquery.js"></script>
|
<script src="{{scu.STATIC_DIR}}/jQuery/jquery.js"></script>
|
||||||
<script src="{{scu.STATIC_DIR}}/jQuery/jquery-migrate-1.2.0.min.js"></script>
|
<script src="{{scu.STATIC_DIR}}/jQuery/jquery-migrate-3.5.2.min.js"></script>
|
||||||
<script src="{{scu.STATIC_DIR}}/libjs/jquery.field.min.js"></script>
|
<script src="{{scu.STATIC_DIR}}/libjs/jquery.field.min.js"></script>
|
||||||
<script src="{{scu.STATIC_DIR}}/libjs/jquery-ui-1.10.4.custom/js/jquery-ui-1.10.4.custom.min.js"></script>
|
<script src="{{scu.STATIC_DIR}}/libjs/jquery-ui-1.10.4.custom/js/jquery-ui-1.10.4.custom.min.js"></script>
|
||||||
<script src="{{scu.STATIC_DIR}}/libjs/bootstrap/js/bootstrap.min.js"></script>
|
<script src="{{scu.STATIC_DIR}}/libjs/bootstrap/js/bootstrap.min.js"></script>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# -*- mode: python -*-
|
# -*- mode: python -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
SCOVERSION = "9.7.R"
|
SCOVERSION = "9.7.R000"
|
||||||
|
|
||||||
SCONAME = "ScoDoc"
|
SCONAME = "ScoDoc"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user