Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
stw
stwkit
Commits
a7f0790d
Commit
a7f0790d
authored
Feb 12, 2018
by
Pettersson Tomas
Browse files
changefn update
parent
6b2cdd44
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
src/components/cards.js
View file @
a7f0790d
...
...
@@ -618,10 +618,8 @@ var STWkit;
if
(
changeCard
.
updateto
.
isBefore
(
self
.
minDate
)
||
changeCard
.
updateto
.
isAfter
(
self
.
maxDate
))
return
;
self
.
to
=
changeCard
.
updateto
.
clone
();
self
.
adjustDateToRange
();
self
.
updateSlider
();
if
(
self
.
ready
)
self
.
validate
();
// if (self.ready) self.validate();
}
};
PeriodCard
.
prototype
.
isDateValid
=
function
(
date
)
{
...
...
src/components/cards.js.map
View file @
a7f0790d
This diff is collapsed.
Click to expand it.
src/components/cards.ts
View file @
a7f0790d
...
...
@@ -679,9 +679,8 @@ module STWkit {
if
((
typeof
changeCard
.
updateto
!==
'
undefined
'
))
{
if
(
changeCard
.
updateto
.
isBefore
(
self
.
minDate
)
||
changeCard
.
updateto
.
isAfter
(
self
.
maxDate
))
return
;
self
.
to
=
changeCard
.
updateto
.
clone
();
self
.
adjustDateToRange
();
self
.
updateSlider
();
if
(
self
.
ready
)
self
.
validate
();
//
if (self.ready) self.validate();
}
}
...
...
Write
Preview
Supports
Markdown
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