summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-07-29 14:15:50 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-07-29 14:15:50 (GMT)
commit1f90e635ed61f9144f1078995705895db9e67558 (patch)
tree3f854ab4d77151fb44450ec8db87955c8b9a5691
parenta68982b0287abbf27b478c16038c5a58ec2e9a0e (diff)
downloadroundcubemail-plugins-kolab-1f90e635ed61f9144f1078995705895db9e67558.tar.gz
Fix saving alarms even if the according tab is hidden
-rw-r--r--plugins/libcalendaring/libcalendaring.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/libcalendaring/libcalendaring.js b/plugins/libcalendaring/libcalendaring.js
index a2cf667..ce09755 100644
--- a/plugins/libcalendaring/libcalendaring.js
+++ b/plugins/libcalendaring/libcalendaring.js
@@ -406,7 +406,7 @@ function rcube_libcalendaring(settings)
{
var valarms = [];
- $(prefix + ':visible .edit-alarm-item').each(function(i, elem){
+ $(prefix + ' .edit-alarm-item').each(function(i, elem) {
var val, offset, alarm = { action: $('select.edit-alarm-type', elem).val() };
if (alarm.action) {
offset = $('select.edit-alarm-offset', elem).val();