nextcloud/core/js
Daniel Calviño Sánchez 66f2b155ce Fix empty mime type filter
When the mime type is an empty array no filter should be applied.
However, the filter was loosely compared to an empty array, but as
arrays are objects then it became an implicit strict equality comparison
which always failed due to being different objects. Now the length of
the array is compared instead, and also moved outside the loop as it is
not needed to check it for each file.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-08-30 14:02:50 +02:00
..
files Removed unused variable isFile 2018-08-09 00:30:42 +03:00
login Update login flow redirection 2017-05-04 19:21:22 +02:00
public Improve URL detection 2018-07-31 17:11:46 +02:00
systemtags Fix some long lines in JS - JSLinut recommendation 2017-05-01 00:49:00 -03:00
tests Fix jsunit 2018-08-24 22:05:48 +02:00
apps.js Design structure fixes 2018-07-21 16:09:13 +02:00
backgroundjobs.js Use tooltip for background jobs info tooltip 2016-07-13 13:01:17 +02:00
config.js Make AppConfig part of the public API 2016-10-21 09:09:23 +02:00
contactsmenu.js Create special option to toggle header menu container 2018-03-04 14:12:29 +01:00
core.json Public fixes 2018-07-21 15:02:20 +02:00
eventsource.js Encode requesttoken 2015-02-16 20:28:30 +01:00
installation.js load showpassord.js conditionally in the template only if needed 2014-12-16 18:45:37 +01:00
integritycheck-failed-notification.js Fix code integrity check-warning link 2018-06-29 11:33:29 +02:00
jquery-showpassword.js Fix password displayed as username in Firefox password manager dialog 2018-01-05 02:45:34 +01:00
jquery-ui-fixes.js Fix semicolon at end of JS lines 2017-05-01 00:42:53 -03:00
jquery.avatar.js Use empty alt tag for avatars since there is always the name next to it 2018-08-26 18:29:02 +02:00
jquery.contactsmenu.js Align to the left 2018-08-09 12:47:50 +02:00
jquery.ocdialog.js Prevent default action from being executed when the button is disabled 2018-08-30 10:25:09 +02:00
js.js Merge pull request #10838 from nextcloud/header-fixes-and-public-note 2018-08-24 22:21:55 +02:00
l10n.js Harden t() with DOMPurify 2017-03-16 14:17:42 +01:00
login.js Not disabled by default 2017-11-05 17:38:29 +01:00
lostpassword.js Do not bind reset password link if an url is set 2018-07-23 15:01:03 +02:00
maintenance-check.js Use OC.webroot instead of calculating the URL 2015-05-11 17:01:57 +02:00
merged-login.json Merge login JS 2017-03-24 21:18:24 +01:00
merged-share-backend.json Public fixes 2018-07-21 15:02:20 +02:00
merged-template-prepend.json Backend work to provide NC whats New info to users 2018-07-05 14:33:08 +02:00
mimetype.js show e2e folder icon on encrypted folders 2017-11-20 21:00:26 +01:00
mimetypelist.js show e2e folder icon on encrypted folders 2017-11-20 21:00:26 +01:00
multiselect.js Users page lazy multiselect group dropdowns 2016-08-29 13:34:13 +02:00
oc-backbone-webdav.js Backbone Webdav Adapter MKCOL support 2017-03-17 00:08:48 -06:00
oc-backbone.js Backbone transport for Webdav 2016-01-16 11:28:04 +01:00
oc-dialogs.js Fix empty mime type filter 2018-08-30 14:02:50 +02:00
oc-requesttoken.js Do not add sensitive request headers for cross domain requests 2015-09-15 11:42:13 +02:00
octemplate.js Fix variable definitions in oc dialogs 2017-05-01 01:09:29 -03:00
placeholder.js Use small loading indicator for avatars smaller than 32px 2018-07-25 14:26:27 +02:00
publicshareauth.js Move public auth page over 2018-06-20 08:53:37 +02:00
select2-toggleselect.js Added system tags GUI in sidebar 2016-01-19 16:24:26 +01:00
setup.js Fix semicolon at end of JS lines 2017-05-01 00:42:53 -03:00
setupchecks.js Adds license to files. Updates the branch. 2018-08-20 20:46:23 +02:00
share.js Add type for room shares 2018-08-08 14:25:43 +02:00
shareconfigmodel.js allow admin to enforce password on mail shares 2017-04-20 16:33:26 +02:00
sharedialoglinkshareview.js Disabled checkboxes and design fixes 2018-08-16 07:31:17 +02:00
sharedialogresharerinfoview.js Add custom handling for room shares to the resharer information 2018-08-08 14:25:44 +02:00
sharedialogshareelistview.js Add custom handling for room shares to the list of sharees 2018-08-08 14:25:43 +02:00
sharedialogview.js Merge pull request #10838 from nextcloud/header-fixes-and-public-note 2018-08-24 22:21:55 +02:00
shareitemmodel.js Take base permissions from DAV, fixes #10516 2018-08-15 15:27:31 +02:00
sharesocialmanager.js Allow social sharing to specify if a new window is opened 2017-04-20 16:32:46 +02:00
singleselect.js Quota bar fix on user list 2017-09-27 22:13:19 +02:00
update.js Redirect to the same page after an update 2018-08-09 15:19:58 +02:00
visitortimezone.js Save the timezone on login again 2016-12-08 10:45:24 +01:00