0
我正在magento管理员中使用原型Ajax.PeriodicalUpdater来定期获取一些数据。 javascript是我需要在每个页面上实现的。Magento Admin Ajax Loader
问题是Magento Loader会在每个ajax请求上显示,即在我的情况下每隔两秒显示一次。
有没有什么办法可以在Magento admin中隐藏我的Ajax请求的加载器?
我正在magento管理员中使用原型Ajax.PeriodicalUpdater来定期获取一些数据。 javascript是我需要在每个页面上实现的。Magento Admin Ajax Loader
问题是Magento Loader会在每个ajax请求上显示,即在我的情况下每隔两秒显示一次。
有没有什么办法可以在Magento admin中隐藏我的Ajax请求的加载器?
只需加上loaderArea:false选项。例如:
new Ajax.PeriodicalUpdater('items', '/items', {
method: 'get', frequency: 3, decay: 2,loaderArea:false
});