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

Forum for questions and support relating to the 1.25.x releases only.
Locked
grunge
Posts: 2
Joined: Tue Sep 13, 2011 2:39 pm

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

Post 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
marculin
Posts: 58
Joined: Fri May 11, 2007 8:12 pm

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

Post by marculin »

Hy,
I've installed new and clean v.1.25 and have this error too.
Anyone have a javascript correct?
Thank you
MILxDOT
Posts: 64
Joined: Wed Mar 29, 2006 5:12 am

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

Post 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.
Locked