Page 1 of 1

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

Posted: Sat Nov 02, 2013 7:25 pm
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;

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

Posted: Thu Dec 26, 2013 3:32 pm
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