Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
officejs_fs2erp5_gadget
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
officejs_fs2erp5_gadget
Commits
048dea6e
Commit
048dea6e
authored
Sep 05, 2017
by
Boris Kocherov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix path_templates
parent
6de45bdc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
jio_fs2erp5storage.js
jio_fs2erp5storage.js
+7
-5
No files found.
jio_fs2erp5storage.js
View file @
048dea6e
...
...
@@ -180,8 +180,8 @@
});
})
.
push
(
function
(
response
)
{
var
scopes
,
i
,
x
,
scope
,
bt_folder
=
{},
size
=
0
;
var
scopes
,
i
,
x
,
scope
,
bt_folder
=
{},
size
=
0
,
path
;
function
add_metafile
(
fname
,
body
)
{
var
type
=
typeof
body
,
...
...
@@ -216,10 +216,12 @@
size
++
;
scope
=
scopes
[
i
];
for
(
x
=
0
;
x
<
scope
.
paths
.
length
;
x
+=
1
)
{
context
.
_paths
[
scope
.
paths
[
x
]]
=
scope
;
path
=
scope
.
paths
[
x
];
context
.
_paths
[
path
]
=
scope
;
path
=
scope
.
prefix
+
path
;
context
.
_path_templates
[
context
.
_options
.
id_prefix
+
path
.
split
(
"
/
"
).
join
(
"
_
"
).
split
(
"
.
"
).
join
(
"
_
"
)
+
"
*
"
]
=
1
;
}
context
.
_path_templates
[
context
.
_options
.
id_prefix
+
scope
.
prefix
.
split
(
"
/
"
).
join
(
"
_
"
).
split
(
"
.
"
).
join
(
"
_
"
)
+
"
*
"
]
=
1
;
}
if
(
size
===
0
)
{
context
.
_path_templates
[
context
.
_options
.
id_prefix
+
"
*
"
]
=
1
;
...
...
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