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
67192cd6
Commit
67192cd6
authored
5 years ago
by
Andreas Schindlbeck
Browse files
Options
Downloads
Patches
Plain Diff
Kalender-Fix: Bei Neueintrag werden geänderte Zeiten nun zugelassen
parent
cd227cd6
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
+4
-1
4 additions, 1 deletion
entity/Appointment_entity/entityfields/begin/valueProcess.js
entity/Appointment_entity/entityfields/end/valueProcess.js
+16
-14
16 additions, 14 deletions
entity/Appointment_entity/entityfields/end/valueProcess.js
with
20 additions
and
15 deletions
entity/Appointment_entity/entityfields/begin/valueProcess.js
+
4
−
1
View file @
67192cd6
import
(
"
system.logging
"
);
import
(
"
system.neon
"
);
import
(
"
system.vars
"
);
import
(
"
system.calendars
"
);
...
...
@@ -10,6 +11,8 @@ if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW && vars.exists("$para
{
var
event
=
JSON
.
parse
(
vars
.
getString
(
"
$param.Entry_param
"
));
if
(
event
[
calendars
.
DTSTART
])
if
(
vars
.
get
(
"
$this.value
"
))
result
.
string
(
vars
.
get
(
"
$this.value
"
));
else
if
(
event
[
calendars
.
DTSTART
])
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
+
16
−
14
View file @
67192cd6
import
(
"
system.neon
"
);
import
(
"
system.vars
"
);
import
(
"
system.calendars
"
);
import
(
"
system.result
"
);
/**
* Following if() is only for passing param-parts from "new Appointment"-Dialog to AppointmentEditViewTemplate
*/
if
(
vars
.
get
(
"
$sys.recordstate
"
)
==
neon
.
OPERATINGSTATE_NEW
&&
vars
.
exists
(
"
$param.Entry_param
"
))
{
var
event
=
JSON
.
parse
(
vars
.
getString
(
"
$param.Entry_param
"
));
if
(
event
[
calendars
.
DTEND
])
result
.
string
(
event
[
calendars
.
DTEND
]);
import
(
"
system.neon
"
);
import
(
"
system.vars
"
);
import
(
"
system.calendars
"
);
import
(
"
system.result
"
);
/**
* Following if() is only for passing param-parts from "new Appointment"-Dialog to AppointmentEditViewTemplate
*/
if
(
vars
.
get
(
"
$sys.recordstate
"
)
==
neon
.
OPERATINGSTATE_NEW
&&
vars
.
exists
(
"
$param.Entry_param
"
))
{
var
event
=
JSON
.
parse
(
vars
.
getString
(
"
$param.Entry_param
"
));
if
(
vars
.
get
(
"
$this.value
"
))
result
.
string
(
vars
.
get
(
"
$this.value
"
));
else
if
(
event
[
calendars
.
DTEND
])
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