Fix Bug 53892

This commit is contained in:
Julia Radzhabova 2022-04-26 15:20:30 +03:00
parent d68e7f74b6
commit 9a4de82b56
2 changed files with 8 additions and 4 deletions

View file

@ -308,7 +308,7 @@ define([
cls: 'btn-toolbar x-huge icon-top',
lock: [_set.lostConnect, _set.disableOnStart],
iconCls: 'toolbar__icon save-form',
caption: this.capBtnSaveForm,
caption: this.appConfig.canRequestSaveAs || !!this.appConfig.saveAsUrl ? this.capBtnSaveForm : this.capBtnDownloadForm,
// disabled: this.appConfig.isEdit && this.appConfig.canFeatureContentControl && this.appConfig.canFeatureForms, // disable only for edit mode,
dataHint: '1',
dataHintDirection: 'bottom',
@ -356,7 +356,7 @@ define([
me.btnPrevForm.updateHint(me.tipPrevForm);
me.btnNextForm.updateHint(me.tipNextForm);
me.btnSubmit && me.btnSubmit.updateHint(me.tipSubmit);
me.btnSaveForm && me.btnSaveForm.updateHint(me.tipSaveForm);
me.btnSaveForm && me.btnSaveForm.updateHint(config.canRequestSaveAs || !!config.saveAsUrl ? me.tipSaveForm : me.tipDownloadForm);
setEvents.call(me);
});
@ -438,11 +438,13 @@ define([
tipSubmit: 'Submit form',
textSubmited: 'Form submitted successfully',
textRequired: 'Fill all required fields to send form.',
capBtnSaveForm: 'Save as a Form',
capBtnSaveForm: 'Save as oform',
tipSaveForm: 'Save a file as a fillable OFORM document',
txtUntitled: 'Untitled',
textCreateForm: 'Add fields and create a fillable OFORM document',
textGotIt: 'Got it'
textGotIt: 'Got it',
capBtnDownloadForm: 'Download as oform',
tipDownloadForm: 'Download a file as a fillable OFORM document'
}
}()), DE.Views.FormsTab || {}));
});

View file

@ -1851,6 +1851,7 @@
"DE.Views.FormsTab.capBtnPrev": "Previous Field",
"DE.Views.FormsTab.capBtnRadioBox": "Radio Button",
"DE.Views.FormsTab.capBtnSaveForm": "Save as oform",
"DE.Views.FormsTab.capBtnDownloadForm": "Download as oform",
"DE.Views.FormsTab.capBtnSubmit": "Submit",
"DE.Views.FormsTab.capBtnText": "Text Field",
"DE.Views.FormsTab.capBtnView": "View Form",
@ -1870,6 +1871,7 @@
"DE.Views.FormsTab.tipPrevForm": "Go to the previous field",
"DE.Views.FormsTab.tipRadioBox": "Insert radio button",
"DE.Views.FormsTab.tipSaveForm": "Save a file as a fillable OFORM document",
"DE.Views.FormsTab.tipDownloadForm": "Download a file as a fillable OFORM document",
"DE.Views.FormsTab.tipSubmit": "Submit form",
"DE.Views.FormsTab.tipTextField": "Insert text field",
"DE.Views.FormsTab.tipViewForm": "View form",