Package: geneweb / 6.08+git20181019+dfsg-3

0005-Jquery-Links.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From: Guillaume Brochu <guillaume.brochu@gmail.com>
Date: Sun, 21 Oct 2018 15:02:09 -0400
Subject: Jquery-Links

Edit links to jquery.min.js and jquery.placeholder.js to use the corresponding
Debian packages instead of .js files that are included in upstream release

See : debian/geneweb.links
---
 hd/etc/js.txt      | 5 ++++-
 hd/etc/welcome.txt | 1 -
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/hd/etc/js.txt b/hd/etc/js.txt
index ce2324d..2c08d4e 100644
--- a/hd/etc/js.txt
+++ b/hd/etc/js.txt
@@ -1 +1,4 @@
-<script type="text/javascript" src="jquery_1_9_1_min.js"></script>
+<script language="javascript" type="text/javascript"
+src="/javascript/jquery/jquery.min.js"></script>
+<script language="javascript" type="text/javascript"
+src="/javascript/jquery-placeholder/jquery.placeholder.js"></script>
diff --git a/hd/etc/welcome.txt b/hd/etc/welcome.txt
index a0dae82..f6aabab 100644
--- a/hd/etc/welcome.txt
+++ b/hd/etc/welcome.txt
@@ -9,7 +9,6 @@
   <meta name="robots" content="none"%/>
   <link rel="shortcut icon" href="%image_prefix;/favicon_gwd.png"%/>
   %include.js;
-  <script type="text/javascript" src="jquery_placeholder_min.js"></script>
   %include.css;
   %base_header;
 </head>