diff --git a/cms/static/js/views/video/translations_editor.js b/cms/static/js/views/video/translations_editor.js index 75e2a01c39..e700b40fc6 100644 --- a/cms/static/js/views/video/translations_editor.js +++ b/cms/static/js/views/video/translations_editor.js @@ -47,6 +47,13 @@ function($, _, AbstractEditor, FileUpload, UploadDialog) { var dropdown = $(element).clone(); _.each(values, function(value, key) { + // Note: IE may raise an exception if key is an empty string, + // while other browsers return null as excepted. So coerce it + // into null for browser consistency. + if (key === "") { + key = null; + } + var option = dropdown[0].options.namedItem(key); if (option) {