nextcloud/core/src
Daniel Calviño Sánchez bcc54d06a1 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:36 +00:00
..
components Improve accessibility 2021-11-26 00:52:38 +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:36 +00:00
OCA Bump js licenses 2021-03-31 12:17:18 +02:00
OCP Bump @nextcloud/router from 1.2.0 to 2.0.0 2021-07-23 15:56:28 +02:00
Polyfill Bump js licenses 2021-03-31 12:17:18 +02:00
services Bump @nextcloud/router from 1.2.0 to 2.0.0 2021-07-23 15:56:28 +02:00
systemtags Bump js licenses 2021-03-31 12:17:18 +02:00
tests Fix eslint and update bundles 2021-07-22 13:21:25 +02:00
Util Bump js licenses 2021-03-31 12:17:18 +02:00
views Fix profile actions menu 2021-12-01 19:57:22 +00:00
globals.js Switch to the "new" jcrop 2021-10-14 13:58:45 +00:00
init.js Alias locales to moment supported locales 2021-08-12 20:24:58 +00: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 Fix eslint and update bundles 2021-07-22 13:21:25 +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
profile.js Profile frontend 2021-10-19 04:59:36 +00: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