TypeError: form.elements.autoVideo is undefined in filter.j

Forum for questions and support relating to the 1.25.x releases only.
Locked
roger_holbrook
Posts: 9
Joined: Sat Oct 26, 2013 11:59 pm

TypeError: form.elements.autoVideo is undefined in filter.j

Post by roger_holbrook »

I was getting this error whenever clicking Filters in ZM - Console. Using Ubuntu 12.04 LTS

The error is in /zm/skins/classic/views/js/filter.js. I saw no reference to this error anywhere.


To eliminate the errors i modified the file as follows by testing for option settings in the updateButtons function.
This is probably not a proper fix but it works for me. Is this a problem that affects other filter functions.
I am thinking my son could use this system so I am trying to check it out.


if ( typeof ZM_OPT_FFMPEG !== "undefined" && form.elements['autoVideo'].checked )
canExecute = true;
if ( typeof ZM_OPT_UPLOAD !== "undefined" && form.elements['autoUpload'].checked )
canExecute = true;
if ( typeof ZM_OPT_EMAIL !== "undefined" && form.elements['autoEmail'].checked )
canExecute = true;
if ( typeof ZM_OPT_MESSAGE !== "undefined" && form.elements['autoMessage'].checked )
canExecute = true;
duli
Posts: 7
Joined: Sun Jun 09, 2013 12:42 am

Re: TypeError: form.elements.autoVideo is undefined in filte

Post by duli »

I'm getting similar error in ZM 1.26.5 + CentOS 6.

2013-12-26 13:42:05.750704 web_js 2879 ERR TypeError: form.elements.autoEmail is undefined http://192.168.0.18/zm/skins/classic/views/js/filter.js
Locked