Skip to content

Commit

Permalink
Merge branch '2024.11'
Browse files Browse the repository at this point in the history
  • Loading branch information
pschuele committed Feb 6, 2025
2 parents 432812c + a76a602 commit 95235f6
Show file tree
Hide file tree
Showing 4 changed files with 667 additions and 268 deletions.
2 changes: 1 addition & 1 deletion tine20/Courses/js/CourseEditDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ Tine.Courses.CourseEditDialog = Ext.extend(Tine.widgets.dialog.EditDialog, {
});
passwordDialog.openWindow();

passwordDialog.on('apply', function (password) {
passwordDialog.on('apply', (password) => {
this.loadMask.show();
const accountObject = this.membersGrid.getSelectionModel().getSelected().data;
Tine.Courses.resetPassword(accountObject.id, password, true).finally(() => {
Expand Down
3 changes: 2 additions & 1 deletion tine20/Courses/js/Models.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ Tine.Courses.Model.Course = Tine.Tinebase.data.Record.create(Tine.Courses.Model.

Tine.Courses.Model.Course.getDefaultData = function() {
return {
type: Tine.Courses.registry.get('defaultType')
type: Tine.Courses.registry.get('defaultType'),
fileserver: 0,
};
};

Expand Down
5 changes: 5 additions & 0 deletions tine20/Tinebase/js/widgets/form/RecordPickerComboBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,11 @@ Tine.Tinebase.widgets.form.RecordPickerComboBox = Ext.extend(Ext.ux.form.Clearab
this.emptyText = _.isString(this.emptyText) ? this.emptyText :
(this.readOnly || this.disabled ? '' : String.format(i18n._('Search for {0} ...'), this.recordClass.getRecordName() || _('Record')));

this.listEmptyText = formatMessage('{recordGender, select, male {No matching {recordsName} found} female {No matching {recordsName} found} other {No matching {recordsName} found}}', {
recordGender: this.recordClass.getRecordGender(),
recordsName: this.recordClass.getRecordsName()
});

this.loadingText = i18n._('Searching...');

this.sortBy = this.sortBy || this.recordClass.getModelConfiguration()?.defaultSortInfo?.field;
Expand Down
Loading

0 comments on commit 95235f6

Please sign in to comment.