This commit is contained in:
Yuri Kuznetsov
2025-03-21 17:03:21 +02:00
parent 415e9503f7
commit 8f2ccb45a2
5 changed files with 10 additions and 10 deletions
+5 -5
View File
@@ -72,7 +72,7 @@ class ModalView extends View {
* @property {'static'|boolean} [backdrop] A backdrop.
* @property {module:views/modal~Button} [buttonList] Buttons.
* @property {module:views/modal~Button} [dropdownItemList] Buttons.
* @property {boolean} [collapseDisabled] Not collapsable. As of v9.1.0.
* @property {boolean} [collapseDisabled] Not collapsible. As of v9.1.0.
*/
/**
@@ -234,7 +234,7 @@ class ModalView extends View {
* @protected
* @type {boolean}
*/
isCollapsable = false
isCollapsible = false
/**
* Is maximizable.
@@ -326,7 +326,7 @@ class ModalView extends View {
}
if (this.options.collapseDisabled) {
this.isCollapsable = false;
this.isCollapsible = false;
}
this.on('render', () => {
@@ -387,7 +387,7 @@ class ModalView extends View {
screenWidthXs: this.getThemeManager().getParam('screenWidthXs'),
fixedHeaderHeight: this.fixedHeaderHeight,
closeButton: !this.noCloseButton,
collapseButton: this.isCollapsable,
collapseButton: this.isCollapsible,
maximizeButton: this.isMaximizable && !this.getHelper().isXsScreen(),
onRemove: () => this.onDialogClose(),
onBackdropClick: () => this.onBackdropClick(),
@@ -436,7 +436,7 @@ class ModalView extends View {
$(this.containerSelector).remove();
});
if (this.isCollapsable) {
if (this.isCollapsible) {
this.addActionHandler('collapseModal', () => this.collapse());
}
+1 -1
View File
@@ -36,7 +36,7 @@ class ComposeEmailModalView extends EditModalView {
layoutName = 'composeSmall'
saveDisabled = true
fullFormDisabled = true
isCollapsable = true
isCollapsible = true
wasModified = false
shortcutKeys = {
+1 -1
View File
@@ -663,7 +663,7 @@ class DetailModalView extends ModalView {
},
});
// Not to hidden as it interferes with the collapsable modal.
// Not to be hidden as it interferes with the collapsible modal.
//this.dialog.hide();
return modalView;
+1 -1
View File
@@ -52,7 +52,7 @@ class EditModalView extends ModalView {
/** @protected */
bottomDisabled = false
isCollapsable = true
isCollapsible = true
/**
* @private
+2 -2
View File
@@ -264,7 +264,7 @@ class NavbarSiteView extends View {
/**
* @private
*/
isCollapsableVisible() {
isCollapsibleVisible() {
return this.$el.find('.navbar-body').hasClass('in');
}
@@ -272,7 +272,7 @@ class NavbarSiteView extends View {
* @private
*/
toggleCollapsable() {
if (this.isCollapsableVisible()) {
if (this.isCollapsibleVisible()) {
this.hideCollapsable();
} else {
this.showCollapsable();