diff --git a/BUGs b/BUGs index 313fd5d..b07504e 100644 --- a/BUGs +++ b/BUGs @@ -1,5 +1,4 @@ ### Next: 146 -BUG-143: if I skip next fast enough in files_ip, it can get the warning about changes to entry list... (would have though I disabled next page until loaded) BUG-140: When db is restarted underneath PA, it crashes job mgr... It should just accept timeouts, and keep trying to reconnect every 2? mins BUG-118: can move files from Bin path, but it leaves the del_file entry for it - need to remove it BUG-117: when search returns files that can be deleted and/or restored, the icon stays as delete and tries to delete! diff --git a/internal/js/files_support.js b/internal/js/files_support.js index d49d41f..274a830 100644 --- a/internal/js/files_support.js +++ b/internal/js/files_support.js @@ -759,6 +759,10 @@ function resetNextPrevButtons() // get list of eids for the next page, also make sure next/prev buttons make sense for page we are on function nextPage(successCallback) { + // start with disabling more next presses until we are ready to process them + $('.prev').prop('disabled', true).addClass('disabled'); + $('.next').prop('disabled', true).addClass('disabled'); + // pageList[0] is the first entry on this page const currentPage=getPageNumberForId( pageList[0] ) // should never happen / just return pageList unchanged @@ -774,6 +778,10 @@ function nextPage(successCallback) // get list of eids for the prev page, also make sure next/prev buttons make sense for page we are on function prevPage(successCallback) { + // start with disabling more prev presses until we are ready to process them + $('.prev').prop('disabled', true).addClass('disabled'); + $('.next').prop('disabled', true).addClass('disabled'); + // pageList[0] is the first entry on this page const currentPage=getPageNumberForId( pageList[0] ) // should never happen / just return pageList unchanged