Skip to content

Conversation

@PVince81
Copy link
Member

@PVince81 PVince81 commented Jul 27, 2022

Removed legacy "#dir" input element in the DOM.

Apps should use OCA.Files.App.currentFileList or
OCA.Sharing.PublicApp.fileList and call getCurrentDirectory() to
retrieve the current directory and changeDirectory() to change it.

Reasons

  • accessibility tools are unhappy about duplicate ids in the code.
  • this is a really really old (OC <= 5) and dirty way for managing state

Affected apps from the release bundle

Todos

Tests

  • TEST: manually tested file list page refresh with root dir
  • TEST: manually tested file list page refresh with non-default dir
  • TEST: manually tested public link page refresh with root dir
  • TEST: manually tested public link page refresh with non-default dir

Removed legacy "#dir" input element in the DOM.

Apps should use OCA.Files.App.currentFileList or
OCA.Sharing.PublicApp.fileList and call getCurrentDirectory() to
retrieve the current directory and changeDirectory() to change it.

Signed-off-by: Vincent Petry <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants