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
7ee5726e
Commit
7ee5726e
authored
May 31, 2016
by
Juorder Antonio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix multiple tasks for assign vacation message
parent
e831c39d
Changes
4
Hide 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 @
7ee5726e
1464270876
1465225624
\ No newline at end of file
\ No newline at end of file
src/components/domain/domains.jsx
View file @
7ee5726e
...
@@ -41,6 +41,10 @@ export default class Domains extends React.Component {
...
@@ -41,6 +41,10 @@ export default class Domains extends React.Component {
getDomains
()
{
getDomains
()
{
const
self
=
this
;
const
self
=
this
;
let
domains
=
null
;
let
domains
=
null
;
const
attrs
=
{
maxResults
:
window
.
manager_config
.
maxResultOnRequestZimbra
};
if
(
DomainStore
.
getDomains
())
{
if
(
DomainStore
.
getDomains
())
{
const
data
=
DomainStore
.
getDomains
();
const
data
=
DomainStore
.
getDomains
();
...
@@ -52,10 +56,11 @@ export default class Domains extends React.Component {
...
@@ -52,10 +56,11 @@ export default class Domains extends React.Component {
});
});
}
}
const
attrneeded
=
Utils
.
getAttrsBySectionFromConfig
(
'domains'
);
attrs
.
attrs
=
attrneeded
;
Client
.
getAllDomains
(
Client
.
getAllDomains
(
{
attrs
,
maxResults
:
window
.
manager_config
.
maxResultOnRequestZimbra
},
(
data
)
=>
{
(
data
)
=>
{
domains
=
data
.
domain
;
domains
=
data
.
domain
;
DomainStore
.
setDomains
(
data
);
DomainStore
.
setDomains
(
data
);
...
...
src/components/domain/multiple_task_modal.jsx
View file @
7ee5726e
...
@@ -83,10 +83,13 @@ export default class MultipleTaskModal extends React.Component {
...
@@ -83,10 +83,13 @@ export default class MultipleTaskModal extends React.Component {
const
attrs
=
{};
const
attrs
=
{};
if
(
isEnabled
)
{
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
.
zimbraPrefOutOfOfficeReplyEnabled
=
isEnabled
.
toString
().
toUpperCase
();
attrs
.
zimbraPrefOutOfOfficeReply
=
refs
.
zimbraPrefOutOfOfficeReply
.
value
;
attrs
.
zimbraPrefOutOfOfficeReply
=
refs
.
zimbraPrefOutOfOfficeReply
.
value
;
attrs
.
zimbraPrefOutOfOffice
UntilDate
=
refs
.
zimbraPrefOutOfOfficeUntilDate
.
value
;
attrs
.
zimbraPrefOutOfOffice
FromDate
=
formatedStart
;
attrs
.
zimbraPrefOutOfOffice
FromDate
=
refs
.
zimbraPrefOutOfOfficeFromDate
.
value
;
attrs
.
zimbraPrefOutOfOffice
UntilDate
=
formatedEnd
;
}
else
{
}
else
{
attrs
.
zimbraPrefOutOfOfficeReplyEnabled
=
isEnabled
.
toString
().
toUpperCase
();
attrs
.
zimbraPrefOutOfOfficeReplyEnabled
=
isEnabled
.
toString
().
toUpperCase
();
}
}
...
...
src/config/config.json
View file @
7ee5726e
...
@@ -68,6 +68,12 @@
...
@@ -68,6 +68,12 @@
"zimbraLastLogonTimestamp"
:
true
,
"zimbraLastLogonTimestamp"
:
true
,
"zimbraIsDelegatedAdminAccount"
:
true
"zimbraIsDelegatedAdminAccount"
:
true
}
}
},
"domains"
:
{
"attrs"
:
{
"zimbraDomainStatus"
:
true
,
"description"
:
true
}
}
}
},
},
"export"
:
{
"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