mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
되돌림
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6651 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5ed986ef5e
commit
b1bb5702ce
1 changed files with 2 additions and 6 deletions
|
|
@ -22,13 +22,9 @@ function editorUploadInit(obj, exe) {
|
|||
if(typeof(obj["allowedFileTypesDescription"])=="undefined") obj["allowedFileTypesDescription"]= "All Files";
|
||||
if(typeof(obj["replaceButtonID"])=="undefined") obj["replaceButtonID"] = "swfUploadButton"+obj["editorSequence"];
|
||||
if(typeof(obj["insertedFiles"])=="undefined") obj["insertedFiles"] = 0;
|
||||
if(exe && uploadSettingObj != obj) XEUploaderStart(obj);
|
||||
if(typeof(uploaderSettings[obj["editorSequence"]]) != "undefined") {
|
||||
uploaderSettings[obj["editorSequence"]]["uploadTargetSrl"] = uploaderSettings[obj["editorSequence"]].post_params.uploadTargetSrl = editorRelKeys[obj["editorSequence"]]["primary"].value;
|
||||
reloadFileList(uploaderSettings[obj["editorSequence"]]);
|
||||
}
|
||||
uploadSettingObj = obj;
|
||||
xAddEventListener(window,"load",function() { XEUploaderStart(obj) });
|
||||
if(exe) XEUploaderStart(obj);
|
||||
}
|
||||
|
||||
// 파일 업로드를 위한 기본 준비를 함
|
||||
|
|
@ -110,7 +106,7 @@ function XEUploaderStart(obj) {
|
|||
swfObj.style.width = btnWidth+"px";
|
||||
swfObj.style.height = btnHeight+"px";
|
||||
|
||||
if(obj["insertedFiles"]>0) reloadFileList(settings);
|
||||
if(obj["insertedFiles"]>0 || editorRelKeys[obj["editorSequence"]]["primary"].value > 0) reloadFileList(settings);
|
||||
}
|
||||
|
||||
function fileQueued(file) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue