diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-06-18 17:17:01 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-06-18 17:17:01 +0000 |
| commit | 48d80ae4520303a2e1768317025f454df42b8a20 (patch) | |
| tree | aa4c9cf6d01038fcddc6b602abbd1877782ce178 | |
| parent | f82d6df277bee1ef02f62baddd57d50a74795ec2 (diff) | |
- Extend rcmail.env.messages with 'flags' object for plugin's flags (#1486266)
git-svn-id: https://svn.roundcube.net/trunk@3764 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/program/js/app.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 3067794e8..8cf81f8ec 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -1538,7 +1538,7 @@ function rcube_webmail() } } } - + return allow ? (copy ? 2 : 1) : 0; }; @@ -1594,7 +1594,9 @@ function rcube_webmail() depth: flags.depth?flags.depth:0, unread_children: flags.unread_children?flags.unread_children:0, parent_uid: flags.parent_uid?flags.parent_uid:0, - selected: this.select_all_mode || this.message_list.in_selection(uid) + selected: this.select_all_mode || this.message_list.in_selection(uid), + // flags from plugins + flags: flags.extra_flags }); var c, tree = expando = '', @@ -4927,7 +4929,7 @@ function rcube_webmail() querystring += (querystring ? '&' : '') + '_remote=1'; var url = this.env.comm_path + '&_action=' + action + '&' + querystring; - + // send request console.log('HTTP GET: ' + url); $.get(url, { _unlock:(lock?1:0) }, function(data){ ref.http_response(data); }, 'json'); |
