Lines Matching +full:insert +full:- +full:user -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang)

2  * http://github.com/valums/file-uploader
4 * Multiple file upload component with progress-bar, drag-and-drop.
26 * Searches for a given element in the array, returns -1 if it is not present.
42 return -1;
80 * Insert node a before node b.
119 * Fixes opacity in IE6-8.
182 * obj2url() takes a json-object as argument and generates
193 * @param Object JSON-Object
194 * @param String current querystring-part
202 ? (/\[\]$/.test(temp)) // prevent double-encoding
222 // we wont use a for-in-loop on an array (performance)
227 // for anything else but a scalar, we will use for-in-loop
364 this._filesInProgress--;
370 this._filesInProgress--;
447 name = name.slice(0, 19) + '...' + name.slice(-13);
452 var ext = (-1 !== fileName.indexOf('.')) ? fileName.replace(/.*[.]/, '').toLowerCase() : '';
464 var i = -1;
476 * Class that creates upload widget with drag-and-drop and file list
486 // if set, will be used instead of qq-upload-list in template
489 template: '<div class="qq-uploader">' +
490 '<div class="qq-upload-drop-area"><span>Drop files here to upload</span></div>' +
491 '<div class="qq-upload-button">Upload a file</div>' +
492 '<ul class="qq-upload-list"></ul>' +
497 '<span class="qq-upload-file"></span>' +
498 '<span class="qq-upload-spinner"></span>' +
499 '<span class="qq-upload-size"></span>' +
500 '<a class="qq-upload-cancel" href="#">Cancel</a>' +
501 '<span class="qq-upload-failed-text">Failed</span>' +
506 button: 'qq-upload-button',
507 drop: 'qq-upload-drop-area',
508 dropActive: 'qq-upload-drop-area-active',
509 list: 'qq-upload-list',
511 file: 'qq-upload-file',
512 spinner: 'qq-upload-spinner',
513 size: 'qq-upload-size',
514 cancel: 'qq-upload-cancel',
518 success: 'qq-upload-success',
519 fail: 'qq-upload-fail'
522 // overwrite options with user supplied
745 isWebkit = navigator.userAgent.indexOf("AppleWebKit") > -1;
763 hoverClass: 'qq-upload-button-hover',
764 focusClass: 'qq-upload-button-focus'
847 input.setAttribute('tabIndex', "-1");
946 var nextId = this._queue[max-1];
967 var id = 'qq-upload-handler-iframe' + qq.getUniqueId();
1058 // iframe.contentWindow.document - for IE<7
1100 // form.setAttribute('enctype', 'multipart/form-data');
1102 var form = qq.toElement('<form method="post" enctype="multipart/form-data"></form>');
1153 return this._files.push(file) - 1;
1172 * @param {Object} params name-value string pairs
1203 xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest");
1204 xhr.setRequestHeader("X-File-Name", encodeURIComponent(name));
1205 xhr.setRequestHeader("Content-Type", "application/octet-stream");
1218 this.log("xhr - server response received");