Commit 3a1484f2 authored by Ryan Jarvis's avatar Ryan Jarvis

The language attribute on the script element is obsolete. It can safely be omitted.

parent a9f4a84a
......@@ -28,7 +28,7 @@
{% macro script(message, actions, actions_confirmation) %}
{% if actions %}
<script src="{{ admin_static.url(filename='admin/js/actions.js', v='1.0.0') }}"></script>
<script language="javascript">
<script>
var modelActions = new AdminModelActions({{ message|tojson|safe }}, {{ actions_confirmation|tojson|safe }});
</script>
{% endif %}
......
......@@ -186,7 +186,7 @@
actions,
actions_confirmation) }}
<script language="javascript">
<script>
(function($) {
$('[data-role=tooltip]').tooltip({
html: true,
......
......@@ -22,7 +22,7 @@
{% block tail %}
{{ super() }}
<script src="{{ admin_static.url(filename='admin/js/rediscli.js', v='1.0.0') }}"></script>
<script language="javascript">
<script>
$(function() {
var redisCli = new RedisCli({{ get_url('.execute_view')|tojson }});
});
......
......@@ -28,7 +28,7 @@
{% macro script(message, actions, actions_confirmation) %}
{% if actions %}
<script src="{{ admin_static.url(filename='admin/js/actions.js', v='1.0.0') }}"></script>
<script language="javascript">
<script>
var modelActions = new AdminModelActions({{ message|tojson|safe }}, {{ actions_confirmation|tojson|safe }});
</script>
{% endif %}
......
......@@ -187,7 +187,7 @@
actions,
actions_confirmation) }}
<script language="javascript">
<script>
(function($) {
$('[data-role=tooltip]').tooltip({
html: true,
......
......@@ -22,7 +22,7 @@
{% block tail %}
{{ super() }}
<script src="{{ admin_static.url(filename='admin/js/rediscli.js', v='1.0.0') }}"></script>
<script language="javascript">
<script>
$(function() {
var redisCli = new RedisCli({{ admin_view.get_url('.execute_view')|tojson }});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment