File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ export class UploadEditor extends AbstractEditor {
229229 }
230230
231231 this . options . upload_handler ( this . path , file , {
232- success ( url ) {
232+ success : ( url ) => {
233233 this . setValue ( url )
234234
235235 if ( this . parent ) this . parent . onChildEditorChange ( this )
@@ -238,12 +238,12 @@ export class UploadEditor extends AbstractEditor {
238238 if ( this . progressBar ) this . preview . removeChild ( this . progressBar )
239239 uploadButton . removeAttribute ( 'disabled' )
240240 } ,
241- failure ( error ) {
241+ failure : ( error ) => {
242242 this . theme . addInputError ( this . uploader , error )
243243 if ( this . progressBar ) this . preview . removeChild ( this . progressBar )
244244 uploadButton . removeAttribute ( 'disabled' )
245245 } ,
246- updateProgress ( progress ) {
246+ updateProgress : ( progress ) => {
247247 if ( this . progressBar ) {
248248 if ( progress ) this . theme . updateProgressBar ( this . progressBar , progress )
249249 else this . theme . updateProgressBarUnknown ( this . progressBar )
You can’t perform that action at this time.
0 commit comments