diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-01-17 18:26:24 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-01-17 18:26:24 +0000 |
| commit | 204c9d503cc159d948e9cb24e019a90e3f7e8354 (patch) | |
| tree | ce7f5d68323055c55f1161e65c4e45e335a504ad /roundcubemail/program/js | |
| parent | 9b06107f55a726f152dd093996b34f926eab123b (diff) | |
- Fix impossible to subscribe to protected folders (#1487656)
git-svn-id: https://svn.roundcube.net/trunk@4422 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js')
| -rw-r--r-- | roundcubemail/program/js/app.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 280322cf6..b21435ef1 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/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'); |
