summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-01-17 18:26:24 +0000
committeralecpl <alec@alec.pl>2011-01-17 18:26:24 +0000
commite81a30752b244394b03cbcaa0df254c93b379782 (patch)
tree02e608ceab731e8f671d0913909084114a4ed6ae /program/js/app.js
parent824144214f82b4f00a82ac688a9adea7386c1bd0 (diff)
- Fix impossible to subscribe to protected folders (#1487656)
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 280322cf6..b21435ef1 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -4309,6 +4309,14 @@ function rcube_webmail()
}
};
+ // disables subscription checkbox (for protected folder)
+ this.disable_subscription = function(folder)
+ {
+ var id = this.get_folder_row_id(folder);
+ if (id)
+ $('input[name="_subscribed[]"]', $('#'+id)).attr('disabled', true);
+ };
+
this.folder_size = function(folder)
{
var lock = this.set_busy(true, 'loading');