cpee-worklist 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cpee-worklist.gemspec +1 -1
- data/ui/js/worklist.js +11 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f5e998b250f45900c42856943ea0ed77674b3dc1aca8a639b9292edb56c5270
|
4
|
+
data.tar.gz: '060494d5269eab17272165105056c81e93b875fe0722bc3a9a91a8edf488b342'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4774db8305dac31b524e7a9b4256bc40ca0c39d0b599e8989ee8502cd2de6f20a07d60929774643727e5492dd393155bc876760b10990cad0e4bc89e3c511e34
|
7
|
+
data.tar.gz: 118656ce46e5859ed72efd10648986afeb5ad5cfc359a74dc1317bc6db059505ad928439769c964404361870ad9abf1bd197122ad61317e5e619fc62eb77a561
|
data/cpee-worklist.gemspec
CHANGED
data/ui/js/worklist.js
CHANGED
@@ -159,19 +159,27 @@ function do_work(taskid,taskidurl) { //{{{
|
|
159
159
|
url: res.form,
|
160
160
|
dataType: 'text',
|
161
161
|
success: async (iform) => {
|
162
|
-
let end = false
|
162
|
+
let end = false;;
|
163
163
|
let evaltext = '';
|
164
|
+
let rel = res.form.match(/.*\//)[0];
|
165
|
+
|
164
166
|
while (!end) {
|
165
167
|
let matches = iform.match(/<worklist-form-load>(.*?)<\/worklist-form-load>/ms);
|
166
168
|
if (matches && matches.length > 0) {
|
167
169
|
evaltext += matches[1];
|
168
170
|
iform = iform.replace(matches[0],'');
|
169
171
|
} else {
|
170
|
-
let includes = iform.match(/<\/?worklist-include\s+href=(("([^"]*)")|('([^']*)'))\s*\/?\s*>/ms);
|
172
|
+
let includes = iform.match(/<\/?worklist-(relative-)?include\s+href=(("([^"]*)")|('([^']*)'))\s*\/?\s*>/ms);
|
171
173
|
if (includes && includes.length > 0) {
|
174
|
+
let inc;
|
175
|
+
if (includes[1]) {
|
176
|
+
inc = rel + includes[4];
|
177
|
+
} else {
|
178
|
+
inc = includes[4];
|
179
|
+
}
|
172
180
|
await $.ajax({
|
173
181
|
type: "GET",
|
174
|
-
url:
|
182
|
+
url: inc,
|
175
183
|
dataType: 'text',
|
176
184
|
success: function(inctext) {
|
177
185
|
iform = iform.replace(includes[0],inctext);
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cpee-worklist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juergen eTM Mangler
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: tools
|
12
12
|
cert_chain: []
|
13
|
-
date: 2024-07-
|
13
|
+
date: 2024-07-14 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: riddl
|