From adfaa863c3986cbc8aa73a662c0138fe3af9a917 Mon Sep 17 00:00:00 2001 From: rlx Date: Tue, 9 Aug 2016 13:21:00 +0200 Subject: [PATCH] typo --- static/js/importMediaDialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/importMediaDialog.js b/static/js/importMediaDialog.js index cec2cde11..f395d0c07 100644 --- a/static/js/importMediaDialog.js +++ b/static/js/importMediaDialog.js @@ -103,7 +103,7 @@ pandora.ui.importMediaDialog = function(options) { infoValue = infoValue.join(', '); } value = value.replace( - new RegExp('\{' + infoKey '\}', 'g'), infoValue + new RegExp('\{' + infoKey + '\}', 'g'), infoValue ); }); if (Ox.isArray(type)) { @@ -114,7 +114,7 @@ pandora.ui.importMediaDialog = function(options) { pandora.api.add({title: values.title || info.title}, function(result) { var edit = Ox.extend( Ox.filter(values, function(value, key) { - return key != 'title' + return key != 'title'; }), {'id': result.data.id} );