aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/files.js
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2020-02-25 19:27:13 +0100
committerGitHub <noreply@github.com>2020-02-25 19:27:13 +0100
commit2ebf88a98c5eda6f120d8c70088aeccb59497c11 (patch)
tree88a49272717bc8149f4df842b74d101db4776489 /apps/files/js/files.js
parente6206731c7d009bb0c9195f14eafa516d5c96b01 (diff)
parente05362959f8d9abb5016914693dac01e564354df (diff)
downloadnextcloud-server-2ebf88a98c5eda6f120d8c70088aeccb59497c11.tar.gz
nextcloud-server-2ebf88a98c5eda6f120d8c70088aeccb59497c11.zip
Merge pull request #19539 from nextcloud/bugfix/noid/allow-to-create-directories-when-they-are-selectable
Allow to create directories when they are selectable
Diffstat (limited to 'apps/files/js/files.js')
-rw-r--r--apps/files/js/files.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index 395b2a53c10..1438fc504e6 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -130,6 +130,8 @@
* @return true if the file name is valid.
* Throws a string exception with an error message if
* the file name is not valid
+ *
+ * NOTE: This function is duplicated in the filepicker inside core/src/OC/dialogs.js
*/
isFileNameValid: function (name) {
var trimmedName = name.trim();