Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
fix(Tinebase): auto edit dialogs can fail
Browse files Browse the repository at this point in the history
- internal fields get no field any longer

Change-Id: I75f01b5c1bef5ed4cc6bb83c719ebe4510464f0d
Reviewed-on: http://gerrit.tine20.com/customers/18527
Tested-by: Jenkins CI (http://ci.tine20.com/) <tine20-jenkins@metaways.de>
Reviewed-by: Cornelius Weiss <c.weiss@metaways.de>
  • Loading branch information
corneliusweiss committed Nov 23, 2020
1 parent 6057b68 commit 80255ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tine20/Tinebase/js/widgets/form/RecordForm.js
Expand Up @@ -98,7 +98,7 @@ Tine.widgets.form.RecordForm.getFormHeight = function(recordClass) {
Ext.each(fieldDefinitions, function(fieldDefinition) {
var app = Tine.Tinebase.appMgr.get(recordClass.getMeta('appName')),
field = Tine.widgets.form.FieldManager.get(app, recordClass, fieldDefinition.fieldName, 'editDialog'),
height = field.height+25 || 42;
height = field ? (field.height+25 || 42) : 0;

formHeight += height;
});
Expand Down

0 comments on commit 80255ee

Please sign in to comment.