diff --git a/cms/static/js/features/import/views/import.js b/cms/static/js/features/import/views/import.js index e34965a0927d..8d6d0a6ace30 100644 --- a/cms/static/js/features/import/views/import.js +++ b/cms/static/js/features/import/views/import.js @@ -332,7 +332,7 @@ define( * @return {JSON} the data of the previous import */ storedImport: function() { - return JSON.parse($.cookie(COOKIE_NAME)); + return JSON.parse($.cookie(COOKIE_NAME) || null); } };