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
e16f2110
Commit
e16f2110
authored
Jun 06, 2016
by
Juorder Gonzalez
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #159 from ZBoxApp/issues_resolved_manager
fix multiple tasks for assign vacation message
parents
e831c39d
7ee5726e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
6 deletions
+20
-6
action_set_name
.vagrant/machines/default/virtualbox/action_set_name
+1
-1
domains.jsx
src/components/domain/domains.jsx
+8
-3
multiple_task_modal.jsx
src/components/domain/multiple_task_modal.jsx
+5
-2
config.json
src/config/config.json
+6
-0
No files found.
.vagrant/machines/default/virtualbox/action_set_name
View file @
e16f2110
1464270876
\ No newline at end of file
1465225624
\ No newline at end of file
src/components/domain/domains.jsx
View file @
e16f2110
...
...
@@ -41,6 +41,10 @@ export default class Domains extends React.Component {
getDomains
()
{
const
self
=
this
;
let
domains
=
null
;
const
attrs
=
{
maxResults
:
window
.
manager_config
.
maxResultOnRequestZimbra
};
if
(
DomainStore
.
getDomains
())
{
const
data
=
DomainStore
.
getDomains
();
...
...
@@ -52,10 +56,11 @@ export default class Domains extends React.Component {
});
}
const
attrneeded
=
Utils
.
getAttrsBySectionFromConfig
(
'domains'
);
attrs
.
attrs
=
attrneeded
;
Client
.
getAllDomains
(
{
maxResults
:
window
.
manager_config
.
maxResultOnRequestZimbra
},
attrs
,
(
data
)
=>
{
domains
=
data
.
domain
;
DomainStore
.
setDomains
(
data
);
...
...
src/components/domain/multiple_task_modal.jsx
View file @
e16f2110
...
...
@@ -83,10 +83,13 @@ export default class MultipleTaskModal extends React.Component {
const
attrs
=
{};
if
(
isEnabled
)
{
const
formatedStart
=
document
.
getElementById
(
'zimbraPrefOutOfOfficeFromDate'
).
value
.
split
(
'/'
).
reverse
().
join
(
''
)
+
'000000Z'
;
const
formatedEnd
=
document
.
getElementById
(
'zimbraPrefOutOfOfficeUntilDate'
).
value
.
split
(
'/'
).
reverse
().
join
(
''
)
+
'000000Z'
;
attrs
.
zimbraPrefOutOfOfficeReplyEnabled
=
isEnabled
.
toString
().
toUpperCase
();
attrs
.
zimbraPrefOutOfOfficeReply
=
refs
.
zimbraPrefOutOfOfficeReply
.
value
;
attrs
.
zimbraPrefOutOfOffice
UntilDate
=
refs
.
zimbraPrefOutOfOfficeUntilDate
.
value
;
attrs
.
zimbraPrefOutOfOffice
FromDate
=
refs
.
zimbraPrefOutOfOfficeFromDate
.
value
;
attrs
.
zimbraPrefOutOfOffice
FromDate
=
formatedStart
;
attrs
.
zimbraPrefOutOfOffice
UntilDate
=
formatedEnd
;
}
else
{
attrs
.
zimbraPrefOutOfOfficeReplyEnabled
=
isEnabled
.
toString
().
toUpperCase
();
}
...
...
src/config/config.json
View file @
e16f2110
...
...
@@ -68,6 +68,12 @@
"zimbraLastLogonTimestamp"
:
true
,
"zimbraIsDelegatedAdminAccount"
:
true
}
},
"domains"
:
{
"attrs"
:
{
"zimbraDomainStatus"
:
true
,
"description"
:
true
}
}
},
"export"
:
{
...
...
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