File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ export class FileItem extends UploaderBlock {
192
192
let caption =
193
193
this . l10n ( 'validation-error' ) +
194
194
': ' +
195
- ( this . _entry . getValue ( 'file' ) ?. name || this . _entry . vetValue ( 'externalUrl' ) ) ;
195
+ ( this . _entry . getValue ( 'file' ) ?. name || this . _entry . getValue ( 'externalUrl' ) ) ;
196
196
this . _showMessage ( 'error' , caption , validationErrorMsg ) ;
197
197
} ) ;
198
198
@@ -202,7 +202,7 @@ export class FileItem extends UploaderBlock {
202
202
return ;
203
203
}
204
204
let caption =
205
- this . l10n ( 'upload-error' ) + ': ' + ( this . _entry . getValue ( 'file' ) ?. name || this . _entry . vetValue ( 'externalUrl' ) ) ;
205
+ this . l10n ( 'upload-error' ) + ': ' + ( this . _entry . getValue ( 'file' ) ?. name || this . _entry . getValue ( 'externalUrl' ) ) ;
206
206
this . _showMessage ( 'error' , caption , uploadError . message ) ;
207
207
} ) ;
208
208
@@ -215,7 +215,7 @@ export class FileItem extends UploaderBlock {
215
215
} ) ;
216
216
217
217
this . _subEntry ( 'fileName' , ( name ) => {
218
- this . $ . itemName = name || this . _entry . vetValue ( 'externalUrl' ) || this . l10n ( 'file-no-name' ) ;
218
+ this . $ . itemName = name || this . _entry . getValue ( 'externalUrl' ) || this . l10n ( 'file-no-name' ) ;
219
219
} ) ;
220
220
221
221
this . _subEntry ( 'fileSize' , ( fileSize ) => {
You can’t perform that action at this time.
0 commit comments