0005578: activesync device management
authorPhilipp Schüle <p.schuele@metaways.de>
Thu, 29 Jan 2015 11:34:47 +0000 (12:34 +0100)
committerPhilipp Schüle <p.schuele@metaways.de>
Fri, 30 Jan 2015 08:32:17 +0000 (09:32 +0100)
* disables all fields in edit dialog as they are overwritten on the next
sync

https://forge.tine20.org/view.php?id=5578

Change-Id: I6d32304389f7ccfcbae7bfdc83f624ea330c275b
Reviewed-on: http://gerrit.tine20.com/customers/1577
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
tine20/ActiveSync/js/EditDialog.js

index 995bd4b..e686830 100644 (file)
@@ -91,6 +91,7 @@ Tine.ActiveSync.SyncDeviceEditDialog = Ext.extend(Tine.widgets.dialog.EditDialog
                         useAccountRecord: true,
                         blurOnSelect: true,
                         selectOnFocus: true,
+                        readOnly: true,
                         maxLength: 40
                     }], [{
                         columnWidth: 0.33,
@@ -120,11 +121,13 @@ Tine.ActiveSync.SyncDeviceEditDialog = Ext.extend(Tine.widgets.dialog.EditDialog
                         columnWidth: 0.33,
                         fieldLabel: this.app.i18n._('IMEI'),
                         name: 'imei',
+                        readOnly: true,
                         maxLength: 40
                     }, {
                         columnWidth: 0.333,
                         fieldLabel: this.app.i18n._('Friendly Name'),
                         name: 'friendlyname',
+                        readOnly: true,
                         maxLength: 40
                     }], [{
                         columnWidth: 0.33,
@@ -142,6 +145,7 @@ Tine.ActiveSync.SyncDeviceEditDialog = Ext.extend(Tine.widgets.dialog.EditDialog
                         columnWidth: 0.333,
                         fieldLabel: this.app.i18n._('Phonenumber'),
                         name: 'phonenumber',
+                        readOnly: true,
                         maxLength: 40
                     }]
                 ]