File: fix-links-in-basic-example.patch

package info (click to toggle)
libjs-jquery-jstree 3.3.7%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 768 kB
  • sloc: makefile: 24
file content (36 lines) | stat: -rw-r--r-- 1,346 bytes parent folder | download | duplicates (2)
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
36
Description: Make sure that the basic example works by using the installed
 files including those of jquery (to prevent privacy-breach-uses-embedded-file)
Author: Paul Gevers <elbrus@debian.org>
Forwarded: not-needed

Index: libjs-jquery-jstree/demo/basic/index.html
===================================================================
--- libjs-jquery-jstree.orig/demo/basic/index.html
+++ libjs-jquery-jstree/demo/basic/index.html
@@ -9,7 +9,7 @@
 	h1 { font-size:1.8em; }
 	.demo { overflow:auto; border:1px solid silver; min-height:100px; }
 	</style>
-	<link rel="stylesheet" href="./../../dist/themes/default/style.min.css" />
+	<link rel="stylesheet" href="/usr/share/javascript/jstree/themes/default/style.css" />
 </head>
 <body>
 	<h1>HTML demo</h1>
@@ -43,8 +43,8 @@
 	<button id="evts_button">select node with id 1</button> <em>either click the button or a node in the tree</em>
 	<div id="evts" class="demo"></div>
 
-	<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
-	<script src="./../../dist/jstree.min.js"></script>
+	<script src="/usr/share/javascript/jquery/jquery.min.js"></script>
+	<script src="/usr/share/javascript/jstree/jstree.min.js"></script>
 	
 	<script>
 	// html demo
@@ -143,4 +143,4 @@
 		});
 	</script>
 </body>
-</html>
\ No newline at end of file
+</html>