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
216ab7b8
Commit
216ab7b8
authored
Oct 30, 2017
by
Tomas Pettersson
🏸
Browse files
testing
parent
cd02bb58
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
src/components/cards.js
View file @
216ab7b8
...
...
@@ -612,8 +612,8 @@ var STWkit;
var
self
=
this
;
if
((
typeof
changeCard
.
obsDateInput
!==
'
undefined
'
)
&&
(
typeof
changeCard
.
obsTimeInput
!==
'
undefined
'
))
{
self
.
obsdate
=
moment
.
utc
(
changeCard
.
obsDateInput
.
value
+
'
'
+
changeCard
.
obsTimeInput
.
value
,
self
.
datetimeFormat
);
self
.
adjustDateToRange
();
self
.
updateSlider
();
if
(
document
.
body
.
contains
(
self
.
forwardButton
))
self
.
forwardButton
.
click
();
}
};
PeriodCard
.
prototype
.
isDateValid
=
function
(
date
)
{
...
...
src/components/cards.js.map
View file @
216ab7b8
This diff is collapsed.
Click to expand it.
src/components/cards.ts
View file @
216ab7b8
...
...
@@ -675,8 +675,7 @@ module STWkit {
var
self
=
this
;
if
((
typeof
changeCard
.
obsDateInput
!==
'
undefined
'
)
&&
(
typeof
changeCard
.
obsTimeInput
!==
'
undefined
'
))
{
self
.
obsdate
=
moment
.
utc
(
changeCard
.
obsDateInput
.
value
+
'
'
+
changeCard
.
obsTimeInput
.
value
,
self
.
datetimeFormat
);
self
.
adjustDateToRange
();
self
.
updateSlider
();
if
(
document
.
body
.
contains
(
self
.
forwardButton
))
self
.
forwardButton
.
click
();
}
}
...
...
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