Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
stwkit
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
stw
stwkit
Commits
6b2cdd44
Commit
6b2cdd44
authored
Feb 12, 2018
by
Pettersson Tomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjusted changefn
parent
f36819ac
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
src/components/cards.js
src/components/cards.js
+3
-3
src/components/cards.js.map
src/components/cards.js.map
+1
-1
src/components/cards.ts
src/components/cards.ts
+3
-3
No files found.
src/components/cards.js
View file @
6b2cdd44
...
...
@@ -614,10 +614,10 @@ var STWkit;
self
.
startTimeInput
.
value
=
changeCard
.
obsTimeInput
.
value
;
self
.
updateFromStartDate
();
}
if
((
typeof
changeCard
.
to
!==
'
undefined
'
))
{
if
(
changeCard
.
to
.
isBefore
(
self
.
minDate
)
||
changeCard
.
to
.
isAfter
(
self
.
maxDate
))
if
((
typeof
changeCard
.
update
to
!==
'
undefined
'
))
{
if
(
changeCard
.
updateto
.
isBefore
(
self
.
minDate
)
||
changeCard
.
update
to
.
isAfter
(
self
.
maxDate
))
return
;
self
.
to
=
changeCard
.
to
.
clone
();
self
.
to
=
changeCard
.
update
to
.
clone
();
self
.
adjustDateToRange
();
self
.
updateSlider
();
if
(
self
.
ready
)
...
...
src/components/cards.js.map
View file @
6b2cdd44
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/components/cards.ts
View file @
6b2cdd44
...
...
@@ -676,9 +676,9 @@ module STWkit {
self
.
startTimeInput
.
value
=
changeCard
.
obsTimeInput
.
value
;
self
.
updateFromStartDate
();
}
if
((
typeof
changeCard
.
to
!==
'
undefined
'
))
{
if
(
changeCard
.
to
.
isBefore
(
self
.
minDate
)
||
changeCard
.
to
.
isAfter
(
self
.
maxDate
))
return
;
self
.
to
=
changeCard
.
to
.
clone
();
if
((
typeof
changeCard
.
update
to
!==
'
undefined
'
))
{
if
(
changeCard
.
updateto
.
isBefore
(
self
.
minDate
)
||
changeCard
.
update
to
.
isAfter
(
self
.
maxDate
))
return
;
self
.
to
=
changeCard
.
update
to
.
clone
();
self
.
adjustDateToRange
();
self
.
updateSlider
();
if
(
self
.
ready
)
self
.
validate
();
...
...
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