diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-19 11:23:01 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-03-09 10:38:38 +0100 |
commit | abacfd84dad4334e26b44b367127d45fdaf3fde6 (patch) | |
tree | 7c62737844472505eb68426fbcd3edbdb8dc0a91 /apps/files/js/files.js | |
parent | e28d314b53b82d5b71d16b7749563337d562dbe5 (diff) | |
download | nextcloud-server-abacfd84dad4334e26b44b367127d45fdaf3fde6.tar.gz nextcloud-server-abacfd84dad4334e26b44b367127d45fdaf3fde6.zip |
fixing js unit tests
Diffstat (limited to 'apps/files/js/files.js')
-rw-r--r-- | apps/files/js/files.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js index ddb2a80259c..e63c3cad52e 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -102,14 +102,6 @@ } else if (trimmedName.length === 0) { throw t('files', 'File name cannot be empty.'); } - // check for invalid characters - //var invalidCharacters = - // ['\\', '/', '<', '>', ':', '"', '|', '?', '*', '\n']; - //for (var i = 0; i < invalidCharacters.length; i++) { - // if (trimmedName.indexOf(invalidCharacters[i]) !== -1) { - // throw t('files', "Invalid name, '\\', '/', '<', '>', ':', '\"', '|', '?' and '*' are not allowed."); - // } - //} return true; }, displayStorageWarnings: function() { |