Incorrect display of ajax loader

More
9 years 2 months ago - 9 years 2 months ago #5193 by aries_max
Incorrect display of ajax loader was created by aries_max
Hello,
In the hub result search page, when switching grod/list views, the ajax loader may not be displayed properly if the #search-results section is moved.
I fixed it replacing in /media/plg_solidres_hub/assets/js/hub.js
.css("top", searchResultHolder.position().top - $(window).scrollTop())
.css("left", searchResultHolder.position().left - $(window).scrollLeft())

by
.css("top", searchResultHolder.offset().top - $(window).scrollTop())
.css("left", searchResultHolder.offset().left - $(window).scrollLeft())

Regards
Max
Last edit: 9 years 2 months ago by aries_max.

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #5196 by vietvh
Replied by vietvh on topic Incorrect display of ajax loader
Hi,

It looks cool, however we can not test the code right now, we will get back to you tomorrow.

Regards

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #5201 by vietvh
Replied by vietvh on topic Incorrect display of ajax loader
Hi,

Could you provide more details about the use case when #search-results section is moved?

Regards,

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #5202 by aries_max
Replied by aries_max on topic Incorrect display of ajax loader
For example I used a sidebar and a map on top of the search results. The loader wasa displaying on top of the sidebar instead of the search results.

Please Log in or Create an account to join the conversation.

Moderators: solidres
Powered by Kunena Forum

All the things you need to make your work easier. Did you like Solidres?