nextcloud-server/core/js
Daniel Calviño Sánchez 3fa91ecf68 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>
2021-12-20 20:14:39 +01:00
..
dist Fix persistent tooltip in the "new folder" input of the file picker 2021-12-20 20:14:39 +01:00
login
public
tests Enhance and complement OPcache setup checks 2021-12-19 23:38:21 +01:00
backgroundjobs.js
core.json jsunit: Remove warnings during test runs 2020-12-29 08:42:34 +01:00
merged-template-prepend.json
mimetype.js Use correct icon for dir-external-root 2021-12-09 14:58:31 +01:00
mimetypelist.js Add OpenDocument flat mimetypes and x-office/drawing alias 2021-10-12 15:14:25 +02:00
publicshareauth.js
select2-toggleselect.js
setupchecks.js Enhance and complement OPcache setup checks 2021-12-19 23:38:21 +01:00
update.js Use the product name in the updater screen 2021-03-22 16:31:50 +01:00