Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
basic
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Gitlab Maintenance 28.03.2025 | 20:00 - 23:00 MEZ
Show more breadcrumbs
xrm
basic
Commits
ee62f21a
Commit
ee62f21a
authored
4 years ago
by
Andreas Schindlbeck
Browse files
Options
Downloads
Patches
Plain Diff
#1058219 Presets get recognized, after user moved or resized an appointment
parent
9208e19d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
entity/Appointment_entity/entityfields/begin/valueProcess.js
+9
-0
9 additions, 0 deletions
entity/Appointment_entity/entityfields/begin/valueProcess.js
entity/Appointment_entity/entityfields/end/valueProcess.js
+9
-0
9 additions, 0 deletions
entity/Appointment_entity/entityfields/end/valueProcess.js
with
18 additions
and
0 deletions
entity/Appointment_entity/entityfields/begin/valueProcess.js
+
9
−
0
View file @
ee62f21a
...
...
@@ -14,4 +14,13 @@ if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW && vars.exists("$para
result
.
string
(
vars
.
get
(
"
$this.value
"
));
else
if
(
event
[
calendars
.
DTSTART
])
result
.
string
(
event
[
calendars
.
DTSTART
]);
}
/**
* Sets explicitly the start date when a preset is sent from the core, due to a move or resize event from the user. Do not remove.
*/
if
(
vars
.
get
(
"
$sys.recordstate
"
)
==
neon
.
OPERATINGSTATE_EDIT
&&
vars
.
exists
(
"
$param.Entry_param
"
))
{
var
event
=
JSON
.
parse
(
vars
.
getString
(
"
$param.Entry_param
"
));
result
.
string
(
event
[
calendars
.
DTSTART
]);
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
entity/Appointment_entity/entityfields/end/valueProcess.js
+
9
−
0
View file @
ee62f21a
...
...
@@ -14,4 +14,13 @@ if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW && vars.exists("$para
result
.
string
(
vars
.
get
(
"
$this.value
"
));
else
if
(
event
[
calendars
.
DTEND
])
result
.
string
(
event
[
calendars
.
DTEND
]);
}
/**
* Sets explicitly the end date when a preset is sent from the core, due to a move or resize event from the user. Do not remove.
*/
if
(
vars
.
get
(
"
$sys.recordstate
"
)
==
neon
.
OPERATINGSTATE_EDIT
&&
vars
.
exists
(
"
$param.Entry_param
"
))
{
var
event
=
JSON
.
parse
(
vars
.
getString
(
"
$param.Entry_param
"
));
result
.
string
(
event
[
calendars
.
DTEND
]);
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment