Skip to content

Commit 80df504

Browse files
ahornaceVladimir Kotal
authored andcommitted
Add tablesorter webjar dependency
1 parent 942b07b commit 80df504

File tree

3 files changed

+18
-2917
lines changed

3 files changed

+18
-2917
lines changed

opengrok-web/pom.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,23 @@ Portions Copyright (c) 2018, 2020, Chris Fraire <[email protected]>.
124124
<groupId>org.webjars.npm</groupId>
125125
<artifactId>showdown</artifactId>
126126
<version>1.9.1</version>
127+
<exclusions>
128+
<exclusion>
129+
<groupId>*</groupId>
130+
<artifactId>*</artifactId>
131+
</exclusion>
132+
</exclusions>
133+
</dependency>
134+
<dependency>
135+
<groupId>org.webjars.npm</groupId>
136+
<artifactId>tablesorter</artifactId>
137+
<version>2.31.3</version>
138+
<exclusions>
139+
<exclusion>
140+
<groupId>*</groupId>
141+
<artifactId>*</artifactId>
142+
</exclusion>
143+
</exclusions>
127144
</dependency>
128145
<dependency>
129146
<groupId>org.glassfish.jersey.test-framework.providers</groupId>

opengrok-web/src/main/java/org/opengrok/web/Scripts.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public String toHtml() {
111111
static {
112112
putFromWebJar("jquery", "jquery.min.js", 10);
113113
putjs("jquery-ui", "js/jquery-ui-1.12.1-custom", 11);
114-
putjs("jquery-tablesorter", "js/jquery-tablesorter-2.31.3", 12);
114+
putFromWebJar("jquery-tablesorter", "jquery.tablesorter.min.js", 12);
115115
putjs("tablesorter-parsers", "js/tablesorter-parsers-0.0.2", 13, true);
116116
putjs("searchable-option-list", "js/searchable-option-list-2.0.14", 14);
117117
putjs("utils", "js/utils-0.0.38", 15, true);

0 commit comments

Comments
 (0)