PDA

View Full Version : [OPEN-681] paging toolbar not clearing mask when beforeload returns false



clesquir
3 Mar 2010, 1:18 PM
Ext version tested:


Ext 3.1.1



Adapter used:


ext



css used:


only default ext-all.css





Browser versions tested against:


FF3.5.8 (firebug 1.5.2 installed)



Operating System:


Ubuntu 9.10



Description:


As written in the documentation, the event "beforeload" can return false to stop the load. If I do so with a PagingToolbar, the mask on the grid will remain and the refresh button of the PagingToolbar will also remain.



Test Case:

Using the example paging.html and adding this to the paging.js


store.on('beforeload', function (store, options) {
return false;
});
Steps to reproduce the problem:


Click the Next button of the PagingToolbar
The grid mask will remain and the PagingToolbar refreshing icon too



The result that was expected:


The grid mask should unmask
The PagingToolbar icon should come back to the refreshing button



Screenshot or Video:


attached