From c3a4b227b78b982c28d44c9cec66c3311e4c915d Mon Sep 17 00:00:00 2001 From: rlx Date: Tue, 9 Aug 2016 15:32:40 +0200 Subject: [PATCH] fix import video dialog --- static/js/importMediaDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/importMediaDialog.js b/static/js/importMediaDialog.js index f94892d41..7b8823f08 100644 --- a/static/js/importMediaDialog.js +++ b/static/js/importMediaDialog.js @@ -96,7 +96,7 @@ pandora.ui.importMediaDialog = function(options) { if (key == 'year' && infoKey == 'date') { infoValue = infoValue.substr(0, 4); } - if (infoKey == 'tags' && Ox.isArray(type)) { + if (infoKey == 'tags' && !Ox.isArray(type)) { infoValue = infoValue.join(', '); } value = value.replace(