fixes STARTTLS config options for LDAP
authorPhilipp Schüle <p.schuele@metaways.de>
Thu, 30 Apr 2015 18:12:43 +0000 (20:12 +0200)
committerPhilipp Schüle <p.schuele@metaways.de>
Mon, 4 May 2015 11:16:36 +0000 (13:16 +0200)
Change-Id: I8e21b45a228e150f0d395e2d71551eb121ef3915
Reviewed-on: http://gerrit.tine20.com/customers/1900
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
Tested-by: Philipp Schüle <p.schuele@metaways.de>
tine20/Setup/js/AuthenticationPanel.js

index 286c951..93b1a0e 100644 (file)
@@ -4,7 +4,7 @@
  * @package     Setup
  * @license     http://www.gnu.org/licenses/agpl.html AGPL Version 3
  * @author      Cornelius Weiss <c.weiss@metaways.de>
- * @copyright   Copyright (c) 2009-2012 Metaways Infosystems GmbH (http://www.metaways.de)
+ * @copyright   Copyright (c) 2009-2015 Metaways Infosystems GmbH (http://www.metaways.de)
  *
  */
 
@@ -332,7 +332,7 @@ Tine.Setup.AuthenticationPanel = Ext.extend(Tine.Tinebase.widgets.form.ConfigPan
                         Ext.applyIf({
                             name: 'authentication_Ldap_useStartTls',
                             fieldLabel: this.app.i18n._('Start TLS'),
-                            store: [[['0', this.app.i18n._('No'), '1', this.app.i18n._('Yes')]]],
+                            store: [['0', this.app.i18n._('No')], ['1', this.app.i18n._('Yes')]],
                             value: '0'
                         }, commonComboConfig), 
                         {
@@ -599,7 +599,7 @@ Tine.Setup.AuthenticationPanel = Ext.extend(Tine.Tinebase.widgets.form.ConfigPan
             Ext.applyIf({
                 name: 'accounts_' + type + 'useStartTls',
                 fieldLabel: this.app.i18n._('Start TLS'),
-                store: [[['0', this.app.i18n._('No'), '1', this.app.i18n._('Yes')]]],
+                store: [['0', this.app.i18n._('No')], ['1', this.app.i18n._('Yes')]],
                 value: '0'
             }, commonComboConfig),
             Ext.applyIf({