no websocket in quick edit modal

This commit is contained in:
Yuri Kuznetsov
2025-06-29 16:49:17 +03:00
parent 36f7ffaaa1
commit d11a04aa0a
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -279,6 +279,7 @@ class EditModalView extends ModalView {
bottomDisabled: this.bottomDisabled,
focusForCreate: this.options.focusForCreate,
recordHelper: this.options.recordHelper,
webSockedDisabled: true,
exit: () => {},
};
+6
View File
@@ -69,6 +69,7 @@ class DetailRecordView extends BaseRecordView {
* @property {Object.<string, *>} [dataObject] Additional data.
* @property {Record} [rootData] Data from the root view.
* @property {boolean} [shortcutKeysEnabled] Enable shortcut keys.
* @property {boolean} [webSockedDisabled] Disable WebSocket. As if v9.2.0.
*/
/**
@@ -83,6 +84,8 @@ class DetailRecordView extends BaseRecordView {
*/
constructor(options) {
super(options);
this.options = options;
}
/** @inheritDoc */
@@ -2010,6 +2013,7 @@ class DetailRecordView extends BaseRecordView {
});
if (
!this.options.webSockedDisabled &&
!this.isNew &&
!!this.getHelper().webSocketManager &&
this.getMetadata().get(['scopes', this.entityType, 'object'])
@@ -3581,6 +3585,8 @@ class DetailRecordView extends BaseRecordView {
}
this.getHelper().webSocketManager.unsubscribe(this.recordUpdateWebSocketTopic);
this.isSubscribedToWebSocket = false;
}
/**