diff --git a/web/pgadmin/misc/file_manager/static/js/create_dialogue.js b/web/pgadmin/misc/file_manager/static/js/create_dialogue.js index 8e53e85c6..c7e4b6b60 100644 --- a/web/pgadmin/misc/file_manager/static/js/create_dialogue.js +++ b/web/pgadmin/misc/file_manager/static/js/create_dialogue.js @@ -143,7 +143,6 @@ module.exports = Alertify.dialog('createModeDlg', function() { 'path': $('.currentpath').val(), }, innerbody, - sep = '/', ext = $('.allowed_file_types select').val(); /* @@ -152,11 +151,6 @@ module.exports = Alertify.dialog('createModeDlg', function() { there is a . already but it's not following the last /, AND the extension isn't *, then we add the extension. */ - - if ($('.file_manager').attr('data-platform') === 'win32') { - sep = '\\'; - } - if (ext != '*') { newFile = newFile + '.' + ext; $('.storage_dialog #uploader .input-path').val(newFile);