mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
#19242289 FF에서 발생하는 파일 첨부 문제 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7806 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6189a3aba1
commit
529d753ece
1 changed files with 1 additions and 2 deletions
|
|
@ -275,10 +275,9 @@ runtimes.html5 = {
|
|||
|
||||
// when file is selected
|
||||
function onselect() {
|
||||
|
||||
var files = $.grep(this.files, function(file) {
|
||||
var ext = (file.fileName.match(/\.([^\.]+)$/)[1] || '').toLowerCase();
|
||||
return ($.inArray(ext,filter) != -1);
|
||||
return (!filter.length || $.inArray(ext,filter) != -1);
|
||||
});
|
||||
|
||||
if (files.length) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue