src/common/js/winjs/js/ui.js
function concludeEdits() {
                    editsQueued = false;

                    if (listDataAdapter.endEdits && beginEditsCalled && !editsInProgress) {
                        beginEditsCalled = false;
                        listDataAdapter.endEdits();
                    }

                    // See if there's a refresh that needs to begin
                    if (refreshRequested) {
                        refreshRequested = false;
                        beginRefresh();
                    } else {
                        // Otherwise, see if anything needs to be fetched
                        postFetch();
                    }
                }
function concludeEdits() {
                    editsQueued = false;

                    if (listDataAdapter.endEdits && beginEditsCalled && !editsInProgress) {
                        beginEditsCalled = false;
                        listDataAdapter.endEdits();
                    }

                    // See if there's a refresh that needs to begin
                    if (refreshRequested) {
                        refreshRequested = false;
                        beginRefresh();
                    } else {
                        // Otherwise, see if anything needs to be fetched
                        postFetch();
                    }
                }
function concludeEdits ( ) { editsQueued = false ; if ( listDataAdapter . endEdits && beginEditsCalled && ! editsInProgress ) { beginEditsCalled = false ; listDataAdapter . endEdits ( ) ; } // See if there's a refresh that needs to begin if ( refreshRequested ) { refreshRequested = false ; beginRefresh ( ) ; } else { // Otherwise, see if anything needs to be fetched postFetch ( ) ; } }
Once the edit queue has emptied, update state appropriately and resume normal operation
Once the edit queue has emptied update state appropriately and resume normal operation