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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
ab795f62
Commit
ab795f62
authored
Apr 23, 2019
by
Boris Kocherov
Committed by
Romain Courteaud
Apr 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_only_office] jslint fix
parent
f2a51e89
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
bt5/erp5_only_office/SkinTemplateItem/portal_skins/erp5_only_office/onlyoffice/xmla_client.js.js
...ortal_skins/erp5_only_office/onlyoffice/xmla_client.js.js
+8
-9
No files found.
bt5/erp5_only_office/SkinTemplateItem/portal_skins/erp5_only_office/onlyoffice/xmla_client.js.js
View file @
ab795f62
...
...
@@ -46,7 +46,7 @@
.
push
(
undefined
,
function
(
response
)
{
// fix mondrian Internal and Sql errors
if
(
response
)
{
switch
(
response
[
"
code
"
]
)
{
switch
(
response
.
code
)
{
case
"
SOAP-ENV:Server.00HSBE02
"
:
case
"
SOAP-ENV:00UE001.Internal Error
"
:
// rarely server error, so try again
...
...
@@ -93,7 +93,7 @@
}
function
levelDiscovery
(
g
,
connection_name
,
row
)
{
var
level_uname
=
row
[
"
LEVEL_UNIQUE_NAME
"
]
,
var
level_uname
=
row
.
LEVEL_UNIQUE_NAME
,
cache
=
g
.
props
.
cache
[
connection_name
],
queue
,
LEVEL_CARDINALITY
=
row
.
LEVEL_CARDINALITY
;
...
...
@@ -145,7 +145,7 @@
return
g
.
getRemoteSettings
()
.
push
(
function
(
settings
)
{
return
g
.
setConnectionsSettings
(
settings
);
})
})
;
})
.
declareAcquiredMethod
(
"
getRemoteSettings
"
,
"
getRemoteSettings
"
)
.
declareMethod
(
"
getConnectionSettings
"
,
function
(
name
)
{
...
...
@@ -234,7 +234,7 @@
if
(
response
&&
response
.
numRows
>
0
)
{
while
(
response
.
hasMoreRows
())
{
row
=
response
.
readAsObject
();
level_uname
=
row
[
"
LEVEL_UNIQUE_NAME
"
]
;
level_uname
=
row
.
LEVEL_UNIQUE_NAME
;
if
(
cache
.
levels
.
hasOwnProperty
(
level_uname
))
{
if
(
cache
.
levels
[
level_uname
].
hasOwnProperty
(
"
LEVEL_UNIQUE_NAME
"
))
{
level
=
cache
.
levels
[
level_uname
];
...
...
@@ -262,7 +262,7 @@
if
(
cache
.
membersOnLevel
.
hasOwnProperty
(
level_uname
))
{
return
getFromCache
(
cache
.
membersOnLevel
,
level_uname
);
}
queue
=
request
(
g
,
"
discoverMDMembers
"
,
{
queue
=
request
(
g
,
"
discoverMDMembers
"
,
{
prop
:
{
restrictions
:
{
LEVEL_UNIQUE_NAME
:
level_uname
...
...
@@ -275,8 +275,8 @@
i
,
members
=
[];
while
(
r
.
hasMoreRows
())
{
uname
=
r
[
"
getMemberUniqueName
"
]
();
if
(
level_uname
!==
r
[
"
getLevelUniqueName
"
]
())
{
uname
=
r
.
getMemberUniqueName
();
if
(
level_uname
!==
r
.
getLevelUniqueName
())
{
throw
"
xmla server fail
"
;
}
member
=
row2member
(
r
);
...
...
@@ -360,5 +360,4 @@
});
}(
window
,
rJS
));
}(
window
,
rJS
));
\ No newline at end of file
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