Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
nexedi
/
erp5
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Merge Requests
112
Wiki
Snippets
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 6c5da7d4
authored
2019-04-23 19:07:56 +0300
by
Boris Kocherov
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[erp5_only_office] xmla_client.js: clear cache values properly
1 parent
a4057635
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
bt5/erp5_only_office/SkinTemplateItem/portal_skins/erp5_only_office/onlyoffice/xmla_client.js.js
bt5/erp5_only_office/SkinTemplateItem/portal_skins/erp5_only_office/onlyoffice/xmla_client.js.js
View file @
6c5da7d
...
...
@@ -12,9 +12,8 @@
.
push
(
function
()
{
return
cache
[
key
];
});
}
else
{
return
cache
[
key
];
}
return
cache
[
key
];
}
function
xmla_request
(
func
,
prop
)
{
...
...
@@ -203,6 +202,7 @@
return
cache
.
levels
[
level_uname
];
})
.
push
(
undefined
,
function
(
err
)
{
delete
cache
.
levels
[
level_uname
];
console
.
error
(
err
);
});
cache
.
levels
[
level_uname
]
=
queue
;
...
...
@@ -299,6 +299,7 @@
return
members
;
})
.
push
(
undefined
,
function
(
err
)
{
delete
cache
.
membersOnLevel
[
level_uname
];
console
.
error
(
err
);
});
cache
.
membersOnLevel
[
level_uname
]
=
queue
;
...
...
@@ -328,12 +329,14 @@
})
.
push
(
function
(
members
)
{
if
(
!
members
)
{
delete
cache
.
members
[
memeber_uname
];
// cache.members[memeber_uname] = false;
return
;
}
return
cache
.
members
[
memeber_uname
];
})
.
push
(
undefined
,
function
(
err
)
{
delete
cache
.
members
[
memeber_uname
];
console
.
error
(
err
);
// throw err;
});
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment