NS_ERROR_ILLEGAL_VALUE error in the Firefox when trying to clear filters in the ajaxify Fabrik list

Makulia

Member
Hello, community!

When I am trying to clear the Fabrik ajaxify list filters I getting js error:
NS_ERROR_ILLEGAL_VALUE:
history.pushState(data, 'fabrik.list.rows');
list.js (line 927
According to Mozilla documentation, the Firefox doesn't support state objects larger the 640k.

The state object can be anything that can be serialized. Because Firefox saves state objects to the user's disk so they can be restored after the user restarts the browser, we impose a size limit of 640k characters on the serialized representation of a state object. If you pass a state object whose serialized representation is larger than this to pushState(), the method will throw an exception. If you need more space than this, you're encouraged to use sessionStorage and/or localStorage.

And in the Fabrik list.js code we can see storing data just like that:

Code:
        if (window.history && window.history.pushState) {
            history.pushState(data, 'fabrik.list.rows');
        }

Need confirmation and fix!
Please, help!

My list renders 100 records per page with 14 fields in each row. List is ajaxifed. Pagination is enabled.
Specs: Joomla 3.3.3+latest github
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top