Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lukas Niegsch
erp5
Commits
a5ba8a83
Commit
a5ba8a83
authored
Sep 09, 2019
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_core/erp5_web_rjs_ui] jIO 3.40.0
parent
3a4a1c08
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
36 deletions
+12
-36
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_jio_js.js
...enderjs_ui/PathTemplateItem/web_page_module/rjs_jio_js.js
+5
-17
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_jio_js.xml
...nderjs_ui/PathTemplateItem/web_page_module/rjs_jio_js.xml
+2
-2
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/jio.js.js
...p5_core/SkinTemplateItem/portal_skins/erp5_core/jio.js.js
+5
-17
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_jio_js.js
View file @
a5ba8a83
...
...
@@ -15285,8 +15285,7 @@ return new Parser;
var
index
=
parseInt
(
cursor
.
primaryKey
.
slice
(
key_path
.
length
+
1
),
10
),
i
;
);
if
((
start
!==
0
)
&&
(
index
<
start_index
))
{
// No need to fetch blobs at the start
...
...
@@ -15297,12 +15296,6 @@ return new Parser;
return
;
}
i
=
index
-
start_index
;
// Extend array size
while
(
i
>
promise_list
.
length
)
{
promise_list
.
push
(
null
);
i
-=
1
;
}
// Sort the blob by their index
promise_list
.
splice
(
index
-
start_index
,
...
...
@@ -15336,7 +15329,7 @@ return new Parser;
{
type
:
"
application/octet-stream
"
});
index
=
Math
.
floor
(
start
/
UNITE
)
*
UNITE
;
if
(
end
===
undefined
)
{
end
=
blob
.
length
;
end
=
blob
.
size
;
}
else
{
end
=
end
-
index
;
}
...
...
@@ -15359,13 +15352,8 @@ return new Parser;
var
index
=
parseInt
(
cursor
.
primaryKey
.
slice
(
key_path
.
length
+
1
),
10
),
i
=
index
;
// Extend array size
while
(
i
>
array_buffer_list
.
length
)
{
array_buffer_list
.
push
(
null
);
i
-=
1
;
}
);
// Sort the blob by their index
array_buffer_list
.
splice
(
index
,
...
...
@@ -15407,7 +15395,7 @@ return new Parser;
blob
=
new
Blob
(
array_buffer_list
,
{
type
:
attachment
.
info
.
content_type
});
if
(
blob
.
length
!==
attachment
.
info
.
total_
length
)
{
if
(
blob
.
size
!==
attachment
.
info
.
length
)
{
throw
new
jIO
.
util
.
jIOError
(
"
IndexedDB: attachment '
"
+
buildKeyPath
([
id
,
name
])
+
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_jio_js.xml
View file @
a5ba8a83
...
...
@@ -234,7 +234,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
97
7.17610.605.309
24
</string>
</value>
<value>
<string>
97
8.21180.38418.373
24
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>
156
3892822.4
</float>
<float>
156
8036980.42
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/jio.js.js
View file @
a5ba8a83
...
...
@@ -15285,8 +15285,7 @@ return new Parser;
var
index
=
parseInt
(
cursor
.
primaryKey
.
slice
(
key_path
.
length
+
1
),
10
),
i
;
);
if
((
start
!==
0
)
&&
(
index
<
start_index
))
{
// No need to fetch blobs at the start
...
...
@@ -15297,12 +15296,6 @@ return new Parser;
return
;
}
i
=
index
-
start_index
;
// Extend array size
while
(
i
>
promise_list
.
length
)
{
promise_list
.
push
(
null
);
i
-=
1
;
}
// Sort the blob by their index
promise_list
.
splice
(
index
-
start_index
,
...
...
@@ -15336,7 +15329,7 @@ return new Parser;
{
type
:
"
application/octet-stream
"
});
index
=
Math
.
floor
(
start
/
UNITE
)
*
UNITE
;
if
(
end
===
undefined
)
{
end
=
blob
.
length
;
end
=
blob
.
size
;
}
else
{
end
=
end
-
index
;
}
...
...
@@ -15359,13 +15352,8 @@ return new Parser;
var
index
=
parseInt
(
cursor
.
primaryKey
.
slice
(
key_path
.
length
+
1
),
10
),
i
=
index
;
// Extend array size
while
(
i
>
array_buffer_list
.
length
)
{
array_buffer_list
.
push
(
null
);
i
-=
1
;
}
);
// Sort the blob by their index
array_buffer_list
.
splice
(
index
,
...
...
@@ -15407,7 +15395,7 @@ return new Parser;
blob
=
new
Blob
(
array_buffer_list
,
{
type
:
attachment
.
info
.
content_type
});
if
(
blob
.
length
!==
attachment
.
info
.
total_
length
)
{
if
(
blob
.
size
!==
attachment
.
info
.
length
)
{
throw
new
jIO
.
util
.
jIOError
(
"
IndexedDB: attachment '
"
+
buildKeyPath
([
id
,
name
])
+
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment