문제

I am using prototype Ajax.PeriodicalUpdater in the magento admin to get some data periodically . The javascript is in the head as I need to implement it on every page .

The issue is that Magento Loader is shown on every ajax request i.e. every two seconds in my case .

Is there any way that I can hide loader for my Ajax request in Magento admin ?

도움이 되었습니까?

해결책

Just add loaderArea:false option. Example:

new Ajax.PeriodicalUpdater('items', '/items', {
  method: 'get', frequency: 3, decay: 2,loaderArea:false
});
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top