익스플로러에서는 에디터의 사진추가를 하면
input file 에서 파일을 추가하면 에디터에 업로드한 사진이 추가되는데
크롬에서는 드래그&드롭 방식으로 여러 파일을 추가하도록 되어 있는걸
크롬에서도 input file로 파일 하나씩 올리고자 합니다.
======== 방법 ========================
attach_photo.js 파일에서 분기처리 수정하시면 됩니다.
분기처리 다 수정하기 귀찮다...라고 하신다면
간단하게 분기처리 플래그부분만 수정하시면 됩니다.
===============================================
//File API 지원 여부로 결정
function checkDragAndDropAPI(){
////////////////////////주석 시작
try{
if( !oNavigator.ie ){
if(!!oNavigator.safari && oNavigator.version <= 5){
bSupportDragAndDropAPI = false;
}else{
bSupportDragAndDropAPI = true;
}
} else {
bSupportDragAndDropAPI = false;
}
}catch(e){
bSupportDragAndDropAPI = false;
}
////////////////////////주석 끝
bSupportDragAndDropAPI = false;
}
bibaram