Simple-Paging-Grid
Simple-Paging-Grid copied to clipboard
Double call of AJAX function on page load in Chrome
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.