GrantsPanel.js (tine20-2020.08.3) | : | GrantsPanel.js (tine20-2020.08.4) | ||
---|---|---|---|---|
skipping to change at line 22 | skipping to change at line 22 | |||
/** | /** | |||
* @cfg {Tine.widgets.dialog.EditDialog} | * @cfg {Tine.widgets.dialog.EditDialog} | |||
*/ | */ | |||
editDialog: null, | editDialog: null, | |||
/** | /** | |||
* @cfg {Tine.Tinebase.Application} app | * @cfg {Tine.Tinebase.Application} app | |||
*/ | */ | |||
app: null, | app: null, | |||
/** | ||||
* @property {Tine.Filemanager.Model.Node} recordClass | ||||
*/ | ||||
recordClass: Tine.Filemanager.Model.Node, | ||||
requiredGrant: 'editGrant', | requiredGrant: 'editGrant', | |||
layout: 'fit', | layout: 'fit', | |||
border: false, | border: false, | |||
initComponent: function() { | initComponent: function() { | |||
this.app = this.app || Tine.Tinebase.appMgr.get('Filemanager'); | this.app = this.app || Tine.Tinebase.appMgr.get('Filemanager'); | |||
this.recordClass = Tine.Filemanager.Model.Node; | ||||
this.title = this.title || this.app.i18n._('Grants'); | this.title = this.title || this.app.i18n._('Grants'); | |||
this.editDialog.on('load', this.onRecordLoad, this); | this.editDialog.on('load', this.onRecordLoad, this); | |||
this.editDialog.on('recordUpdate', this.onRecordUpdate, this); | this.editDialog.on('recordUpdate', this.onRecordUpdate, this); | |||
this.hasOwnGrantsCheckbox = new Ext.form.Checkbox({ | this.hasOwnGrantsCheckbox = new Ext.form.Checkbox({ | |||
disabled: true, | disabled: true, | |||
boxLabel: this.app.i18n._('This folder has its own grants'), | boxLabel: this.app.i18n._('This folder has its own grants'), | |||
listeners: {scope: this, check: this.onOwnGrantsCheck} | listeners: {scope: this, check: this.onOwnGrantsCheck} | |||
}); | }); | |||
End of changes. 2 change blocks. | ||||
5 lines changed or deleted | 1 lines changed or added |