Skip to content

Commit 1da752b

Browse files
committed
Build JS
1 parent 687264a commit 1da752b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/LiveComponent/assets/dist/live_controller.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1948,7 +1948,7 @@ class Component {
19481948
}
19491949
}
19501950
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);
19521952
this.pendingActions = [];
19531953
this.valueStore.flushDirtyPropsToPending();
19541954
this.isRequestPending = false;
@@ -1995,7 +1995,7 @@ class Component {
19951995
}
19961996
return;
19971997
}
1998-
this.hooks.triggerHook('loading.state:finished', this.element, this);
1998+
this.hooks.triggerHook('loading.state:finished', this.element);
19991999
const modifiedModelValues = {};
20002000
Object.keys(this.valueStore.getDirtyProps()).forEach((modelName) => {
20012001
modifiedModelValues[modelName] = this.valueStore.get(modelName);
@@ -2296,10 +2296,10 @@ class StandardElementDriver {
22962296

22972297
class LoadingPlugin {
22982298
attachToComponent(component) {
2299-
component.on('loading.state:started', (element, request, component) => {
2299+
component.on('loading.state:started', (element, request) => {
23002300
this.startLoading(component, element, request);
23012301
});
2302-
component.on('loading.state:finished', (element, component) => {
2302+
component.on('loading.state:finished', (element) => {
23032303
this.finishLoading(component, element);
23042304
});
23052305
this.finishLoading(component, component.element);

0 commit comments

Comments
 (0)