Simple-Paging-Grid icon indicating copy to clipboard operation
Simple-Paging-Grid copied to clipboard

Double call of AJAX function on page load in Chrome

Open danmiser opened this issue 12 years ago • 0 comments

For browsers that return true for supportsHistoryApi (i.e. Chrome): init() calls _refreshData [1], followed by _registerHistoryEvents. _registerHistoryEvents calls _parseUrl, which calls _refreshData [2]. This ends up calling the dataFunction twice.

Temporary solution is to set urlUpdatingEnabled to false.

danmiser avatar Jan 15 '14 21:01 danmiser