Page 1 of 1

filter.js - line:14 - form.elements.autoUpload is undefined

Posted: Tue Sep 13, 2011 2:54 pm
by grunge
Hia i'm a total newbie... testing for my self different software with motion detection

installed ubuntu 11.04, wgetted 1.25.0 today, compiled ,installed... managed to get running after a while...
Cam is working fine. Area definition fine, when I enter all the values (enter 0 when there is nothing) otherwise (sometimes) the area will not be draw correctly (no colored area between the points)...

now theres seems to be some inconsistency in the sources.
When i execute a filter, created to send e-mails i get always this error:

2011-09-13 15:55:52.511201 web_js 2625 ERR form.elements.autoUpload is undefined skins/classic/views/js/filter.js 14 14

i tryed also to go the quick way and just check in the filter.js if(form.elements['autoUpload'] !== undefined) but that just did get me an error later on:

2011-09-13 16:20:37.462328 web_js 2778 ERR Script error.

since there isn't any information anymore i gave up, went back to original filter.js and created a forum account.
here we are now ;-)

Greets & Thanks
Philipp

Re: filter.js - line:14 - form.elements.autoUpload is undefi

Posted: Mon Sep 19, 2011 3:32 pm
by marculin
Hy,
I've installed new and clean v.1.25 and have this error too.
Anyone have a javascript correct?
Thank you

Re: filter.js - line:14 - form.elements.autoUpload is undefi

Posted: Mon Feb 13, 2012 1:29 am
by MILxDOT
I can confirm this on 1.25.0 as well

From the log:

Component: web_js
Level: ERR
Message: form.elements.autoUpload is undefined
File: http://urlormyzmbox.com/skins/classic/v ... /filter.js

Running Ubuntu Server 11.10 amd64

Any fixes would be appreciated.