(pane, paging)
| 1937 | } |
| 1938 | |
| 1939 | function setPaneFileListPaging(pane, paging) { |
| 1940 | const normalized = normalizePaneKey(pane); |
| 1941 | const next = (paging && paging.enabled) ? paging : null; |
| 1942 | savePaneState(normalized, { fileListPaging: next }); |
| 1943 | if (normalized === normalizePaneKey(window.activePane)) { |
| 1944 | window.currentFileListPaging = next; |
| 1945 | } |
| 1946 | } |
| 1947 | |
| 1948 | function shouldUseServerFilePagingForRequest(options = {}) { |
| 1949 | if (options && options.forceLegacy) { |
no test coverage detected