Skip to content

Commit

Permalink
Merge branch 'release/v8.2.0' into feature/language-list
Browse files Browse the repository at this point in the history
  • Loading branch information
Basher0303 committed Sep 18, 2024
2 parents d06391f + 61fdb33 commit 4482ddf
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 1 deletion.
2 changes: 2 additions & 0 deletions apps/common/main/lib/view/TextInputDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,15 @@ define([], function () { 'use strict';
el : $('#id-dlg-label-custom-input'),
allowBlank : me.inputConfig.allowBlank,
blankError : me.inputConfig.blankError,
maxLength : me.inputConfig.maxLength,
style : 'width: 100%;',
validateOnBlur: false,
validation : me.inputConfig.validation
}) : new Common.UI.InputFieldFixed({
el : $('#id-dlg-label-custom-input'),
allowBlank : me.inputConfig.allowBlank,
blankError : me.inputConfig.blankError,
maxLength : me.inputFixedConfig.fixedValue && me.inputConfig.maxLength ? me.inputConfig.maxLength - me.inputFixedConfig.fixedValue.length : me.inputConfig.maxLength,
style : 'width: 100%;',
validateOnBlur: false,
validation : me.inputConfig.validation,
Expand Down
3 changes: 3 additions & 0 deletions apps/documenteditor/main/app/controller/LeftMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,9 @@ define([
label: me.textSelectPath,
value: defFileName || '',
inputFixedConfig: {fixedValue: ext, fixedWidth: 40},
inputConfig: {
maxLength: me.mode.wopi.FileNameMaxLength
},
handler: function(result, value) {
if (result == 'ok') {
if (typeof ext === 'string')
Expand Down
3 changes: 3 additions & 0 deletions apps/pdfeditor/main/app/controller/LeftMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,9 @@ define([
label: me.textSelectPath,
value: defFileName || '',
inputFixedConfig: {fixedValue: ext, fixedWidth: 40},
inputConfig: {
maxLength: me.mode.wopi.FileNameMaxLength
},
handler: function(result, value) {
if (result == 'ok') {
if (typeof ext === 'string')
Expand Down
3 changes: 3 additions & 0 deletions apps/presentationeditor/main/app/controller/LeftMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,9 @@ define([
label: me.textSelectPath,
value: defFileName || '',
inputFixedConfig: {fixedValue: ext, fixedWidth: 40},
inputConfig: {
maxLength: me.mode.wopi.FileNameMaxLength
},
handler: function(result, value) {
if (result == 'ok') {
if (typeof ext === 'string')
Expand Down
3 changes: 3 additions & 0 deletions apps/spreadsheeteditor/main/app/controller/LeftMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,9 @@ define([
label: me.textSelectPath,
value: defFileName || '',
inputFixedConfig: {fixedValue: ext, fixedWidth: 40},
inputConfig: {
maxLength: me.mode.wopi.FileNameMaxLength
},
handler: function(result, value) {
if (result == 'ok') {
if (typeof ext === 'string')
Expand Down
2 changes: 1 addition & 1 deletion apps/spreadsheeteditor/main/app/controller/Spellcheck.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ define([
Common.NotificationCenter.trigger('script:loaded:spellcheck');
if (this.api) {
this.api.asc_registerCallback('asc_onSpellCheckVariantsFound', _.bind(this.onSpellCheckVariantsFound, this));
this.api.asc_registerCallback('asc_onEditCell', _.bind(this.onApiEditCell, this));
}
},

setApi: function(api) {
this.api = api;
this.api.asc_registerCallback('asc_onEditCell', _.bind(this.onApiEditCell, this));
return this;
},

Expand Down

0 comments on commit 4482ddf

Please sign in to comment.