This repository was archived by the owner on Sep 8, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
/*!
2
2
* angular-ui-uploader
3
3
* https://github.com/angular-ui/ui-uploader
4
- * Version: 1.1.3 - 2015-12-01T00:54:49.732Z
4
+ * Version: 1.1.3 - 2016-10-14T09:15:10.906Z
5
5
* License: MIT
6
6
*/
7
7
@@ -123,7 +123,7 @@ function uiUploader($log) {
123
123
} ;
124
124
125
125
// Triggered when upload is completed:
126
- xhr . onload = function ( ) {
126
+ xhr . upload . onload = function ( ) {
127
127
self . activeUploads -= 1 ;
128
128
self . uploadedFiles += 1 ;
129
129
startUpload ( self . options ) ;
@@ -139,7 +139,7 @@ function uiUploader($log) {
139
139
} ;
140
140
141
141
// Triggered when upload fails:
142
- xhr . onerror = function ( e ) {
142
+ xhr . upload . onerror = function ( e ) {
143
143
if ( angular . isFunction ( self . options . onError ) ) {
144
144
self . options . onError ( e ) ;
145
145
}
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ function uiUploader($log) {
113
113
} ;
114
114
115
115
// Triggered when upload is completed:
116
- xhr . onload = function ( ) {
116
+ xhr . upload . onload = function ( ) {
117
117
self . activeUploads -= 1 ;
118
118
self . uploadedFiles += 1 ;
119
119
startUpload ( self . options ) ;
@@ -129,7 +129,7 @@ function uiUploader($log) {
129
129
} ;
130
130
131
131
// Triggered when upload fails:
132
- xhr . onerror = function ( e ) {
132
+ xhr . upload . onerror = function ( e ) {
133
133
if ( angular . isFunction ( self . options . onError ) ) {
134
134
self . options . onError ( e ) ;
135
135
}
You can’t perform that action at this time.
0 commit comments