Skip to content

EspoCRM – Open Source CRM Application

JS deprecations removal

Yurii64b176624a8f
diff --git a/client/src/field-manager.js b/client/src/field-manager.js
index cb58678de9..ff6a78fd7d 100644
--- a/client/src/field-manager.js
+++ b/client/src/field-manager.js
@@ -412,38 +412,6 @@ class FieldManager {
return 'views/fields/' + Espo.Utils.camelCaseToHyphen(fieldType);
}
- /**
- * @deprecated Use `getParamList`.
- * @todo Remove in v10.0.
- */
- getParams(fieldType) {
- return this.getParamList(fieldType);
- }
-
- /**
- * @deprecated Use `getAttributeList`.
- * @todo Remove in v10.0.
- */
- getAttributes(fieldType, fieldName) {
- return this.getAttributeList(fieldType, fieldName);
- }
-
- /**
- * @deprecated Use `getActualAttributeList`.
- * @todo Remove in v10.0.
- */
- getActualAttributes(fieldType, fieldName) {
- return this.getActualAttributeList(fieldType, fieldName);
- }
-
- /**
- * @deprecated Use `getNotActualAttributeList`.
- * @todo Remove in v10.0.
- */
- getNotActualAttributes(fieldType, fieldName) {
- return this.getNotActualAttributeList(fieldType, fieldName);
- }
-
/**
* Check whether a field is not disabled, not utility, not only-admin, not forbidden and not internal.
*
@@ -476,14 +444,6 @@ class FieldManager {
return true;
}
- /**
- * @deprecated Use `isEntityTypeFieldAvailable`.
- * @todo Remove in v10.0.
- */
- isScopeFieldAvailable(entityType, field) {
- return this.isEntityTypeFieldAvailable(entityType, field);
- }
-
/**
* @param {string} entityType
* @param {string} field
diff --git a/client/src/views/modals/select-records.js b/client/src/views/modals/select-records.js
index 509fe66733..1bf0c4f66e 100644
--- a/client/src/views/modals/select-records.js
+++ b/client/src/views/modals/select-records.js
@@ -413,14 +413,6 @@ class SelectRecordsModalView extends ModalView {
return;
}
- // @todo Remove in v10.0. Kept bc.
- // noinspection JSUnresolvedReference
- if (this.options.triggerCreateEvent) {
- this.trigger('create');
-
- return;
- }
-
let attributes;
if (this.options.createAttributesProvider) {
diff --git a/client/src/views/record/base.js b/client/src/views/record/base.js
index fe73145b1f..da6f83b703 100644
--- a/client/src/views/record/base.js
+++ b/client/src/views/record/base.js
@@ -1306,7 +1306,7 @@ class BaseRecordView extends View {
* @return {Promise|undefined}
*
* @deprecated As of v9.3.0.
- * @todo Remove in v10.0.
+ * @todo Remove in v11.0.
*/
populateDefaults() {}
diff --git a/client/src/views/record/panels/bottom.js b/client/src/views/record/panels/bottom.js
index 102a5c99c7..f7f78b7d0a 100644
--- a/client/src/views/record/panels/bottom.js
+++ b/client/src/views/record/panels/bottom.js
@@ -197,6 +197,7 @@ class BottomPanelView extends View {
return this.actionList || [];
}
+ // noinspection JSUnusedGlobalSymbols
/**
* Get field views.
*
@@ -214,14 +215,6 @@ class BottomPanelView extends View {
return fields;
}
- /**
- * @deprecated Use `getFieldViews`.
- * @todo Remove in v10.0.
- */
- getFields() {
- return this.getFieldViews();
- }
-
/**
* Get a field list.
*