a:36:{s:9:"#provides";s:24:"dojox.form.FileInputAuto";s:9:"#resource";s:21:"form/FileInputAuto.js";s:9:"#requires";a:2:{i:0;a:2:{i:0;s:6:"common";i:1;s:20:"dojox.form.FileInput";}i:1;a:3:{i:0;s:6:"common";i:1;s:14:"dojo.io.iframe";i:2;s:4:"dojo";}}s:24:"dojox.form.FileInputAuto";a:5:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:20:"dojox.form.FileInput";}s:4:"call";a:1:{i:0;s:20:"dojox.form.FileInput";}}s:7:"summary";s:73:"An extension on dojox.form.FileInput providing background upload progress";s:11:"description";s:486:"An extended version of FileInput - when the user focuses away from the input the selected file is posted via dojo.io.iframe to the url. example implementation comes with PHP solution for handling upload, and returning required data. notes: the return data from the io.iframe is used to populate the input element with data regarding the results. it will be a JSON object, like: results = { size: "1024", filename: "file.txt" } all the parameters allowed to dojox.form.FileInput apply";s:9:"classlike";b:1;}s:28:"dojox.form.FileInputAuto.url";a:3:{s:9:"prototype";s:24:"dojox.form.FileInputAuto";s:4:"type";s:6:"String";s:7:"summary";s:52:"the URL where our background FileUpload will be sent";}s:34:"dojox.form.FileInputAuto.blurDelay";a:3:{s:9:"prototype";s:24:"dojox.form.FileInputAuto";s:4:"type";s:7:"Integer";s:7:"summary";s:127:"time in ms before an un-focused widget will wait before uploading the file to the url="" specified default: 2 seconds";}s:33:"dojox.form.FileInputAuto.duration";a:3:{s:9:"prototype";s:24:"dojox.form.FileInputAuto";s:4:"type";s:7:"Integer";s:7:"summary";s:120:"The time in ms to use as the generic timing mechanism for the animations set to 1 or 0 for "immediate respose"";}s:38:"dojox.form.FileInputAuto.uploadMessage";a:3:{s:9:"prototype";s:24:"dojox.form.FileInputAuto";s:4:"type";s:6:"String";s:7:"summary";s:21:" FIXME: i18n somehow?";}s:37:"dojox.form.FileInputAuto.triggerEvent";a:3:{s:9:"prototype";s:24:"dojox.form.FileInputAuto";s:4:"type";s:6:"String";s:7:"summary";s:215:"Event which triggers the upload. Defaults to onblur, sending the file selected 'blurDelay' milliseconds after losing focus. Set to "onchange" with a low blurDelay to send files immediately after uploading.";}s:30:"dojox.form.FileInputAuto._sent";a:4:{s:9:"prototype";s:24:"dojox.form.FileInputAuto";s:8:"instance";s:24:"dojox.form.FileInputAuto";s:7:"private";b:1;s:7:"summary";s:0:"";}s:37:"dojox.form.FileInputAuto.templatePath";a:2:{s:9:"prototype";s:24:"dojox.form.FileInputAuto";s:7:"summary";s:0:"";}s:32:"dojox.form.FileInputAuto.startup";a:4:{s:9:"prototype";s:24:"dojox.form.FileInputAuto";s:4:"type";s:8:"Function";s:6:"source";s:189:" this._blurListener = this.connect(this.fileInput, this.triggerEvent, "_onBlur"); this._focusListener = this.connect(this.fileInput, "onfocus", "_onFocus"); this.inherited(arguments);";s:7:"summary";s:28:"add our extra blur listeners";}s:33:"dojox.form.FileInputAuto._onFocus";a:5:{s:9:"prototype";s:24:"dojox.form.FileInputAuto";s:4:"type";s:8:"Function";s:6:"source";s:55:" if(this._blurTimer){ clearTimeout(this._blurTimer); }";s:7:"summary";s:22:"clear the upload timer";s:7:"private";b:1;}s:32:"dojox.form.FileInputAuto._onBlur";a:5:{s:9:"prototype";s:24:"dojox.form.FileInputAuto";s:4:"type";s:8:"Function";s:6:"source";s:158:" if(this._blurTimer){ clearTimeout(this._blurTimer); } if(!this._sent){ this._blurTimer = setTimeout(dojo.hitch(this,"_sendFile"),this.blurDelay); }";s:7:"summary";s:22:"start the upload timer";s:7:"private";b:1;}s:35:"dojox.form.FileInputAuto.setMessage";a:5:{s:9:"prototype";s:24:"dojox.form.FileInputAuto";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:5:"title";a:1:{s:4:"type";s:6:"String";}}s:6:"source";s:112:" this.overlay.removeChild(this.overlay.firstChild); this.overlay.appendChild(document.createTextNode(title));";s:7:"summary";s:127:"set the text of the progressbar innerHTML throws errors in IE! so use DOM manipulation instead this.overlay.innerHTML = title;";}s:34:"dojox.form.FileInputAuto._sendFile";a:6:{s:9:"prototype";s:24:"dojox.form.FileInputAuto";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:1:"e";a:1:{s:4:"type";s:5:"Event";}}s:6:"source";s:941:" if(this._sent || this._sending || !this.fileInput.value){ return; } this._sending = true; dojo.style(this.fakeNodeHolder,"display","none"); dojo.style(this.overlay,{ opacity:0, display:"block" }); this.setMessage(this.uploadMessage); dojo.fadeIn({ node: this.overlay, duration:this.duration }).play(); var _newForm; if(dojo.isIE){ // just to reiterate, IE is a steaming pile of code. _newForm = document.createElement('