From e81a30752b244394b03cbcaa0df254c93b379782 Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 17 Jan 2011 18:26:24 +0000 Subject: - Fix impossible to subscribe to protected folders (#1487656) --- program/js/app.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'program/js/app.js') 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'); -- cgit v1.2.3