WB.plupload WB.plupload.flash WB.VFS.Plupload WB.VFS.Plupload.Observer WB.VFS.Plupload.Observer.SimpleFileList WB.VFS.Plupload.Observer.SimpleProgressBar WB.VFS.Plupload.Observer.BusyPointer WB.VFS.Plupload.Observer.ReloadOnComplete WB.VFS.Plupload.Observer.AutoStart
var config = $H({ dir: "{CWD_ID}", path: "[[PATH]]", filters: [] }); var up = new WB.VFS.Plupload("{CONTENT_PATH}", config); var upofl = new WB.VFS.Plupload.Observer.SimpleFileList(); upofl.setOptions({element: "filelist"}); up.attachObserver(upofl); var upopb = new WB.VFS.Plupload.Observer.SimpleProgressBar(); up.attachObserver(upopb); var upobp = new WB.VFS.Plupload.Observer.BusyPointer(); up.attachObserver(upobp); var uporoc = new WB.VFS.Plupload.Observer.ReloadOnComplete(); uporoc.setOptions({ dir: "{CWD_ID}" }); up.attachObserver(uporoc); var upoas = new WB.VFS.Plupload.Observer.AutoStart(); up.attachObserver(upoas);