From 48c57e1eaca6e6be0ef4b8cd6c83adb243066b70 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Thu, 28 Feb 2013 14:20:41 +0100 Subject: [PATCH] Fix javascript syntax to work on IE7 --- plugins/kolab_activesync/kolab_activesync.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/kolab_activesync/kolab_activesync.js b/plugins/kolab_activesync/kolab_activesync.js index c28a8774..c5fb6d1b 100644 --- a/plugins/kolab_activesync/kolab_activesync.js +++ b/plugins/kolab_activesync/kolab_activesync.js @@ -108,7 +108,7 @@ function kolab_activesync_config() var data = { cmd: 'save', id: rcmail.env.active_device, - devicealias: $('#config-device-alias').val(), + devicealias: $('#config-device-alias').val() // syncmode: $('#config-device-mode option:selected').val(), // laxpic: $('#config-device-laxpic').get(0).checked ? 1 : 0 }; @@ -137,7 +137,7 @@ function kolab_activesync_config() parent.window.activesync_object.update_list(p.id, p.alias); // device deleted - if (p.success && p.id && p.delete) { + if (p.success && p.id && p['delete']) { active_device = null; device_select(); devicelist.remove_row(p.id);