Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zimbra-admin-api-js
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Public
zimbra-admin-api-js
Commits
7d14d23b
Commit
7d14d23b
authored
Jul 13, 2016
by
Patricio Bruna
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'enableConfigByParse' of github.com:ZBoxApp/manager-react into enableConfigByParse
parents
05d9d1fa
d512d8ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
index.jsx
src/index.jsx
+4
-3
No files found.
src/index.jsx
View file @
7d14d23b
...
@@ -45,14 +45,15 @@ const notFoundParams = {
...
@@ -45,14 +45,15 @@ const notFoundParams = {
function
preRenderSetup
(
callwhendone
)
{
function
preRenderSetup
(
callwhendone
)
{
const
d1
=
Client
.
getClientConfig
(
const
d1
=
Client
.
getClientConfig
(
(
data
)
=>
{
(
data
)
=>
{
const
config
=
data
.
result
||
data
;
if
(
!
data
)
{
if
(
!
config
)
{
return
;
return
;
}
}
global
.
window
.
manager_config
=
data
;
global
.
window
.
manager_config
=
config
;
if
(
data
.
debug
)
{
if
(
config
.
debug
)
{
global
.
window
.
Client
=
Client
;
global
.
window
.
Client
=
Client
;
global
.
window
.
Utils
=
Utils
;
global
.
window
.
Utils
=
Utils
;
}
}
...
...
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