Revize f2fabf9e
Přidáno uživatelem Vít Mazín před více než 5 roky(ů)
sources/imiger-core/src/main/webapp/js/components/filterModalWindow.js | ||
---|---|---|
232 | 232 |
"];" + |
233 | 233 |
"dateSlider.noUiSlider.on('update', function (values, handle) {" + |
234 | 234 |
" var date = new Date(+values[handle]);" + |
235 |
" console.log(date);" + |
|
236 | 235 |
" dateValues[handle].innerHTML = date.toLocaleDateString('cs-CZ');" + |
237 | 236 |
"});") |
238 | 237 |
]); |
... | ... | |
481 | 480 |
|
482 | 481 |
setDateBounds(minDate, maxDate) { |
483 | 482 |
if(minDate !== null && maxDate !== null) { |
484 |
console.log(minDate.toString()); |
|
485 |
console.log(maxDate.toString()); |
|
486 | 483 |
this._showSlider = DOM.h('script', { |
487 | 484 |
id: "sliderScript", |
488 | 485 |
}, [ |
... | ... | |
509 | 506 |
"];" + |
510 | 507 |
"dateSlider.noUiSlider.on('update', function (values, handle) {" + |
511 | 508 |
" var date = new Date(+values[handle]);" + |
512 |
" console.log(date);" + |
|
513 | 509 |
" dateValues[handle].innerHTML = date.toLocaleDateString('cs-CZ');" + |
514 | 510 |
"});") |
515 | 511 |
]); |
sources/imiger-core/src/main/webapp/js/showGraphApp.js | ||
---|---|---|
312 | 312 |
if(date !== 'Invalid Date') { |
313 | 313 |
if(minDate === null || date < minDate) { |
314 | 314 |
minDate = date; |
315 |
console.log("new min: " + minDate.toString()); |
|
316 | 315 |
} |
317 | 316 |
if(maxDate === null || date > maxDate) { |
318 | 317 |
maxDate = date; |
319 |
console.log("new max: " + maxDate.toString()); |
|
320 | 318 |
} |
321 | 319 |
} |
322 | 320 |
} |
Také k dispozici: Unified diff
Console logs removed (refs #7465)