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 @@ ...@@ -28,7 +28,7 @@
{% macro script(message, actions, actions_confirmation) %} {% macro script(message, actions, actions_confirmation) %}
{% if actions %} {% if actions %}
<script src="{{ admin_static.url(filename='admin/js/actions.js', v='1.0.0') }}"></script> <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 }}); var modelActions = new AdminModelActions({{ message|tojson|safe }}, {{ actions_confirmation|tojson|safe }});
</script> </script>
{% endif %} {% endif %}
......
...@@ -186,7 +186,7 @@ ...@@ -186,7 +186,7 @@
actions, actions,
actions_confirmation) }} actions_confirmation) }}
<script language="javascript"> <script>
(function($) { (function($) {
$('[data-role=tooltip]').tooltip({ $('[data-role=tooltip]').tooltip({
html: true, html: true,
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
{% block tail %} {% block tail %}
{{ super() }} {{ super() }}
<script src="{{ admin_static.url(filename='admin/js/rediscli.js', v='1.0.0') }}"></script> <script src="{{ admin_static.url(filename='admin/js/rediscli.js', v='1.0.0') }}"></script>
<script language="javascript"> <script>
$(function() { $(function() {
var redisCli = new RedisCli({{ get_url('.execute_view')|tojson }}); var redisCli = new RedisCli({{ get_url('.execute_view')|tojson }});
}); });
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
{% macro script(message, actions, actions_confirmation) %} {% macro script(message, actions, actions_confirmation) %}
{% if actions %} {% if actions %}
<script src="{{ admin_static.url(filename='admin/js/actions.js', v='1.0.0') }}"></script> <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 }}); var modelActions = new AdminModelActions({{ message|tojson|safe }}, {{ actions_confirmation|tojson|safe }});
</script> </script>
{% endif %} {% endif %}
......
...@@ -187,7 +187,7 @@ ...@@ -187,7 +187,7 @@
actions, actions,
actions_confirmation) }} actions_confirmation) }}
<script language="javascript"> <script>
(function($) { (function($) {
$('[data-role=tooltip]').tooltip({ $('[data-role=tooltip]').tooltip({
html: true, html: true,
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
{% block tail %} {% block tail %}
{{ super() }} {{ super() }}
<script src="{{ admin_static.url(filename='admin/js/rediscli.js', v='1.0.0') }}"></script> <script src="{{ admin_static.url(filename='admin/js/rediscli.js', v='1.0.0') }}"></script>
<script language="javascript"> <script>
$(function() { $(function() {
var redisCli = new RedisCli({{ admin_view.get_url('.execute_view')|tojson }}); 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