H_MZ 2014-04-17 15:18 采纳率: 0%
浏览 39

Magento Admin Ajax加载程序

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 ?

  • 写回答

1条回答 默认 最新

  • 7*4 2014-05-21 01:58
    关注

    Just add loaderArea:false option. Example:

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

报告相同问题?