Files
zoneminder/web
Isaac Connor 0cc561dadd fix: guard changeFilters against invalid date input in montagereview
When the datetime picker closed with an empty or malformed value,
DateTime.fromFormat returned an Invalid DateTime and .valueOf() gave
NaN.  That NaN propagated through minTimeSecs/rangeTimeSecs into
drawSliderOnGraph, where parseInt(NaN) yielded a NaN sliderX and
getImageData rejected it with "Value is not of type 'long'".

Return early from changeFilters when either parsed DateTime is
invalid so the NaN never reaches the canvas.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-24 14:24:35 -04:00
..
2022-08-19 13:33:22 -04:00

Modern ZoneMinder Skin

This web frontend to ZoneMinder is a complete rewrite of the classic frontend, based on CakePHP.