[PATCH 01/46] templates: Pull jquery into base.html
Damien Lespiau
damien.lespiau at intel.com
Sun Nov 9 06:08:19 AEDT 2014
Bootstrap needs jquery for its own JS facilities, so include it on every
page.
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
templates/base.html | 3 +++
templates/patchwork/bundle.html | 3 ---
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/templates/base.html b/templates/base.html
index 56091b4..b337106 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -5,6 +5,9 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>{% block title %}Patchwork{% endblock %} - Patchwork</title>
<link rel="stylesheet" type="text/css" href="/css/style.css"/>
+ <script language="JavaScript" type="text/javascript"
+ src="/js/jquery-1.10.1.min.js">
+ </script>
<script language="JavaScript" type="text/javascript" src="/js/common.js">
</script>
{% block headers %}{% endblock %}
diff --git a/templates/patchwork/bundle.html b/templates/patchwork/bundle.html
index d47cf13..9c4e31a 100644
--- a/templates/patchwork/bundle.html
+++ b/templates/patchwork/bundle.html
@@ -4,9 +4,6 @@
{% block headers %}
<script language="JavaScript" type="text/javascript"
- src="/js/jquery-1.10.1.min.js">
- </script>
- <script language="JavaScript" type="text/javascript"
src="/js/jquery.tablednd.js">
</script>
<script language="JavaScript" type="text/javascript"
--
1.8.3.1
More information about the Patchwork
mailing list