From 19e58cec946c2f68d8acb72056130423443ea9b5 Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 28 Sep 2017 10:23:48 +0200 Subject: [PATCH 1/2] prevent typeError --- www/common/userObject.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/common/userObject.js b/www/common/userObject.js index ddacbb806..058b64fb5 100644 --- a/www/common/userObject.js +++ b/www/common/userObject.js @@ -425,6 +425,7 @@ define([ getFiles([FILES_DATA]).forEach(function (id) { var data = allFilesList[id]; + if (!data) { return; } if (Array.isArray(data.tags) && containsSearchedTag(data.tags)) { res.push(id); } else From 0f9e93e1deec7a627c4079cf22b141f5361b3ab3 Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 28 Sep 2017 10:36:40 +0200 Subject: [PATCH 2/2] make tests pass again --- www/{olddrive => drive}/tests.js | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename www/{olddrive => drive}/tests.js (100%) diff --git a/www/olddrive/tests.js b/www/drive/tests.js similarity index 100% rename from www/olddrive/tests.js rename to www/drive/tests.js