list-min.js error when creating new list template

sjenkinsdc

New Member
I'm creating a new list template and am getting this .js error from list-min.js:
Uncaught TypeError: Cannot call method 'getElement' of null

I can't figure out which element it is looking for that is causing the error because of the minification. How can I fix this?
 
In fabrikoptions "Debugging" you can set Allow fabrikDebug=DebugJS, this will load un-minified JS files.
 
I found it:
System >> Global Configuration >> fabrik >> Debugging tab

Thanks! I'll see what I can learn from the unminified list js.
 
Fabrik "Options" also can be accessed in the right upper corner if you are on a fabrik site.
 
Ok - so I discovered that removing the form from the list template causes a js error here in list.js:

watchNav: function (e) {
var limitBox = this.form.getElement('select[name*=limit]');
.
.
.

Uncaught TypeError: Cannot call method 'getElement' of null

Does this mean I have to maintain a form even if I don't need one?
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top