Changeset 65c8764b in github
- Timestamp:
- Apr 1, 2010 2:52:48 AM (3 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 600981d
- Parents:
- 1d773d7
- Location:
- program
- Files:
-
- 2 edited
-
js/app.js (modified) (2 diffs)
-
steps/addressbook/groups.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
program/js/app.js
raa12df2 r65c8764b 3660 3660 var li, key = 'G'+id; 3661 3661 if ((li = this.get_folder_li(key))) { 3662 this.triggerEvent('removegroup', { id:id, li:li }); 3663 3662 3664 li.parentNode.removeChild(li); 3663 3665 delete this.env.contactfolders[key]; 3664 3666 delete this.env.contactgroups[key]; 3665 3667 } 3668 3669 this.list_contacts(null, 0); 3666 3670 }; 3667 3671 … … 3717 3721 var li = $('<li>').attr('id', 'rcmli'+key).addClass('contactgroup').append(link); 3718 3722 $(this.gui_objects.folderlist).append(li); 3723 3724 this.triggerEvent('insertgroup', { id:prop.id, name:prop.name, li:li[0] }); 3719 3725 }; 3720 3726 -
program/steps/addressbook/groups.inc
r1d773d7 r65c8764b 42 42 if (($gid = get_input_value('_gid', RCUBE_INPUT_POST)) && ($ids = get_input_value('_cid', RCUBE_INPUT_POST))) { 43 43 $plugin = $RCMAIL->plugins->exec_hook('group_delmembers', array('group_id' => $gid, 'ids' => $ids, 'source' => $source)); 44 $ids = $plugin['ids'];45 44 46 if (!$plugin['abort'] && $CONTACTS->remove_from_group($gid, $ ids))45 if (!$plugin['abort'] && $CONTACTS->remove_from_group($gid, $plugin['ids'])) 47 46 $OUTPUT->show_message('contactremovedfromgroup'); 48 47 else if ($plugin['message'])
Note: See TracChangeset
for help on using the changeset viewer.
