Lines Matching defs:_options

254     this._options = {
284 qq.extend(this._options, o);
290 if (this._options.button){
291 this._button = this._createUploadButton(this._options.button);
299 this._options.params = params;
309 multiple: this._options.multiple && qq.UploadHandlerXhr.isSupported(),
326 debug: this._options.debug,
327 action: this._options.action,
328 maxConnections: this._options.maxConnections,
331 self._options.onProgress(id, fileName, loaded, total);
335 self._options.onComplete(id, fileName, result);
339 self._options.onCancel(id, fileName);
353 e.returnValue = self._options.messages.onLeave;
355 return self._options.messages.onLeave;
366 this._options.showMessage(result.error);
397 if (this._options.onSubmit(id, fileName) !== false){
399 this._handler.upload(id, this._options.params);
423 } else if (size && this._options.sizeLimit && size > this._options.sizeLimit){
427 } else if (size && size < this._options.minSizeLimit){
435 var message = this._options.messages[code];
439 r('{extensions}', this._options.allowedExtensions.join(', '));
440 r('{sizeLimit}', this._formatSize(this._options.sizeLimit));
441 r('{minSizeLimit}', this._formatSize(this._options.minSizeLimit));
443 this._options.showMessage(message);
453 var allowed = this._options.allowedExtensions;
484 qq.extend(this._options, {
523 qq.extend(this._options, o);
525 this._element = this._options.element;
526 this._element.innerHTML = this._options.template;
527 this._listElement = this._options.listElement || this._find(this._element, 'list');
529 this._classes = this._options.classes;
542 * Gets one of the elements listed in this._options.classes
545 var element = qq.getByClass(parent, this._options.classes[type])[0];
627 var item = qq.toElement(this._options.fileTemplate);
669 this._options = {
677 qq.extend(this._options, o);
679 this._element = this._options.element;
720 self._options.onEnter(e);
726 self._options.onLeave(e);
732 self._options.onLeaveNotDescendants(e);
739 self._options.onDrop(e);
756 this._options = {
767 qq.extend(this._options, o);
769 this._element = this._options.element;
794 qq.removeClass(this._element, this._options.focusClass);
800 if (this._options.multiple){
805 input.setAttribute("name", this._options.name);
827 self._options.onChange(input);
831 qq.addClass(self._element, self._options.hoverClass);
834 qq.removeClass(self._element, self._options.hoverClass);
837 qq.addClass(self._element, self._options.focusClass);
840 qq.removeClass(self._element, self._options.focusClass);
858 this._options = {
867 qq.extend(this._options, o);
875 if (this._options.debug && window.console) console.log('[uploader] ' + str);
893 if (len <= this._options.maxConnections){
943 var max = this._options.maxConnections;
983 this._options.onCancel(id, this.getName(id));
1016 self._options.onComplete(id, fileName, response);
1104 var queryString = qq.obj2url(params, this._options.action);
1187 self._options.onProgress(id, name, e.loaded, e.total);
1200 var queryString = qq.obj2url(params, this._options.action);
1215 this._options.onProgress(id, name, size, size);
1229 this._options.onComplete(id, name, response);
1232 this._options.onComplete(id, name, {});
1240 this._options.onCancel(id, this.getName(id));