@@ -1948,7 +1948,7 @@ class Component {
1948
1948
}
1949
1949
}
1950
1950
this . backendRequest = this . backend . makeRequest ( this . valueStore . getOriginalProps ( ) , this . pendingActions , this . valueStore . getDirtyProps ( ) , this . getChildrenFingerprints ( ) , this . valueStore . getUpdatedPropsFromParent ( ) , filesToSend ) ;
1951
- this . hooks . triggerHook ( 'loading.state:started' , this . element , this . backendRequest , this ) ;
1951
+ this . hooks . triggerHook ( 'loading.state:started' , this . element , this . backendRequest ) ;
1952
1952
this . pendingActions = [ ] ;
1953
1953
this . valueStore . flushDirtyPropsToPending ( ) ;
1954
1954
this . isRequestPending = false ;
@@ -1995,7 +1995,7 @@ class Component {
1995
1995
}
1996
1996
return ;
1997
1997
}
1998
- this . hooks . triggerHook ( 'loading.state:finished' , this . element , this ) ;
1998
+ this . hooks . triggerHook ( 'loading.state:finished' , this . element ) ;
1999
1999
const modifiedModelValues = { } ;
2000
2000
Object . keys ( this . valueStore . getDirtyProps ( ) ) . forEach ( ( modelName ) => {
2001
2001
modifiedModelValues [ modelName ] = this . valueStore . get ( modelName ) ;
@@ -2296,10 +2296,10 @@ class StandardElementDriver {
2296
2296
2297
2297
class LoadingPlugin {
2298
2298
attachToComponent ( component ) {
2299
- component . on ( 'loading.state:started' , ( element , request , component ) => {
2299
+ component . on ( 'loading.state:started' , ( element , request ) => {
2300
2300
this . startLoading ( component , element , request ) ;
2301
2301
} ) ;
2302
- component . on ( 'loading.state:finished' , ( element , component ) => {
2302
+ component . on ( 'loading.state:finished' , ( element ) => {
2303
2303
this . finishLoading ( component , element ) ;
2304
2304
} ) ;
2305
2305
this . finishLoading ( component , component . element ) ;
0 commit comments