Fixed linter error.
parent
f4d6290b50
commit
0bf6e81faa
|
@ -143,7 +143,6 @@ module.exports = Alertify.dialog('createModeDlg', function() {
|
||||||
'path': $('.currentpath').val(),
|
'path': $('.currentpath').val(),
|
||||||
},
|
},
|
||||||
innerbody,
|
innerbody,
|
||||||
sep = '/',
|
|
||||||
ext = $('.allowed_file_types select').val();
|
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
|
there is a . already but it's not following the last /, AND the
|
||||||
extension isn't *, then we add the extension.
|
extension isn't *, then we add the extension.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ($('.file_manager').attr('data-platform') === 'win32') {
|
|
||||||
sep = '\\';
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ext != '*') {
|
if (ext != '*') {
|
||||||
newFile = newFile + '.' + ext;
|
newFile = newFile + '.' + ext;
|
||||||
$('.storage_dialog #uploader .input-path').val(newFile);
|
$('.storage_dialog #uploader .input-path').val(newFile);
|
||||||
|
|
Loading…
Reference in New Issue