Javascript Magento管理Ajax加载程序

Javascript Magento管理Ajax加载程序,javascript,ajax,magento,prototypejs,Javascript,Ajax,Magento,Prototypejs,我在magento管理中使用prototype Ajax.PeriodicalUpdater定期获取一些数据。javascript在我的脑海中,因为我需要在每个页面上实现它 问题是Magento Loader在每个ajax请求上都会显示,在我的例子中,每两秒钟显示一次 有没有办法在Magento admin中隐藏Ajax请求的加载程序?只需添加加载程序rea:false选项。 例如: new Ajax.PeriodicalUpdater('items', '/items', { method

我在magento管理中使用prototype Ajax.PeriodicalUpdater定期获取一些数据。javascript在我的脑海中,因为我需要在每个页面上实现它

问题是Magento Loader在每个ajax请求上都会显示,在我的例子中,每两秒钟显示一次


有没有办法在Magento admin中隐藏Ajax请求的加载程序?

只需添加加载程序rea:false选项。 例如:

new Ajax.PeriodicalUpdater('items', '/items', {
  method: 'get', frequency: 3, decay: 2,loaderArea:false
});