Fix import dialogs
authorMichael Spahn <m.spahn@metaways.de>
Fri, 21 Apr 2017 10:50:34 +0000 (12:50 +0200)
committerPhilipp Schüle <p.schuele@metaways.de>
Fri, 21 Apr 2017 10:57:06 +0000 (12:57 +0200)
Change-Id: I0230be2e204deb2b9d6e6883723f467076c15c27
Reviewed-on: http://gerrit.tine20.com/customers/4571
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
tine20/Calendar/js/ImportDialog.js
tine20/Tinebase/js/widgets/dialog/ImportDialog.js
tine20/Tinebase/js/widgets/dialog/SimpleImportDialog.js

index 010a2e2..59ed141 100644 (file)
@@ -303,7 +303,8 @@ Tine.Calendar.ImportDialog = Ext.extend(Tine.widgets.dialog.ImportDialog, {
                         containersName: this.recordClass.getContainersName(),
                         appName: this.appName,
                         value: this.defaultImportContainer,
-                        requiredGrant: false
+                        requiredGrant: false,
+                        recordClass: this.recordClass
                     })]
                 }]
             }]
index a2b2eb7..73827e6 100644 (file)
@@ -376,6 +376,7 @@ Tine.widgets.dialog.ImportDialog = Ext.extend(Tine.widgets.dialog.WizardPanel, {
                 containerName: this.recordClass.getContainerName(),
                 containersName: this.recordClass.getContainersName(),
                 appName: this.appName,
+                recordClass: this.recordClass,
                 value: this.defaultImportContainer,
                 listeners: {
                     scope: this,
index eb25584..3fad400 100644 (file)
@@ -161,6 +161,7 @@ Tine.widgets.dialog.SimpleImportDialog = Ext.extend(Tine.widgets.dialog.ImportDi
                     width: 300,
                     ref: '../../containerCombo',
                     stateful: false,
+                    recordClass: this.recordClass,
                     containerName: this.recordClass.getContainerName(),
                     containersName: this.recordClass.getContainersName(),
                     appName: this.appName,