nextcloud/core/src
Daniel Calviño Sánchez 738ca085cc Fix persistent tooltip in the "new folder" input of the file picker
When a new folder is tried to be created in the file picker dialog a
tooltip is shown on the input if the folder name exists already.
However, this tooltip was not cleared, so it was still shown even if the
name was fixed, the folder was created and then the "New folder" input
was shown again.

Now the tooltip is cleared as soon as the input changes, as keeping it
shown in that case did not provide any benefit either (and it is
consistent with how the "new folder" input works in the Files app view).

The input is also cleared whenever the menu that shows the input is
opened again, as otherwise the tooltip would be still shown if the menu
was closed and opened again without changing the input (and the menu
could be opened again after changing to another directory where the new
folder name is no longer duplicated).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-21 07:36:17 +00:00
..
components Fix position of search bar 2021-09-03 15:05:36 +00:00
files Bump js licenses 2021-03-31 12:17:18 +02:00
jquery Bump js licenses 2021-03-31 12:17:18 +02:00
mixins Bump js licenses 2021-03-31 12:17:18 +02:00
OC Fix persistent tooltip in the "new folder" input of the file picker 2021-12-21 07:36:17 +00:00
OCA Bump js licenses 2021-03-31 12:17:18 +02:00
OCP Bump js licenses 2021-03-31 12:17:18 +02:00
Polyfill Bump js licenses 2021-03-31 12:17:18 +02:00
services Bump js licenses 2021-03-31 12:17:18 +02:00
systemtags Bump js licenses 2021-03-31 12:17:18 +02:00
tests Rewrite requesttoken.spec.js with Jest 2021-05-30 10:44:34 +02:00
Util Bump js licenses 2021-03-31 12:17:18 +02:00
views Search function strong tag for user input 2021-09-01 11:38:10 +00:00
globals.js Don't mentioned we will do something with an already released version 2021-04-15 08:53:17 +02:00
init.js Bump js licenses 2021-03-31 12:17:18 +02:00
install.js Bump js licenses 2021-03-31 12:17:18 +02:00
logger.js Bump js licenses 2021-03-31 12:17:18 +02:00
login.js Allow WebAuthn on localhost as well 2021-06-17 16:05:45 +02:00
main.js Bump js licenses 2021-03-31 12:17:18 +02:00
maintenance.js Bump js licenses 2021-03-31 12:17:18 +02:00
recommendedapps.js Bump js licenses 2021-03-31 12:17:18 +02:00
session-heartbeat.js Bump js licenses 2021-03-31 12:17:18 +02:00
unified-search.js Bump js licenses 2021-03-31 12:17:18 +02:00