I
I
Igor2018-05-10 16:46:38
1C-Bitrix
Igor, 2018-05-10 16:46:38

Why does the filtering hang with a smart filter if the AJAX mode is enabled?

Enabled AJAX mode in the smart filter so that filtering takes place without reloading the page. However, if you select a filtering option, then the area where the filtered list should be displayed is not updated, the "refresh wheel" is constantly spinning, as if the selection is in progress.
How to deal with this bug? Where to dig?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasya, 2018-05-10
@haramba

Good afternoon. Looked at the browser console, what's the error?
This happened to me when
1. for some reason bx, ajax and another Bitrix library were not loaded, the
decision to include manually CJSCore::Init(array('ajax'));
2. just a mistake in your js handler
3. if the template is not default - maybe not the right way.
Solution
1. see what's in the console
2. open the Network tab, understand where the request goes, to the same page?
3. what the request returns, the Response subtab of the Network tab of the given request

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question