Ticket #1486606: rc_groupsjs.r3464.patch
| File rc_groupsjs.r3464.patch, 1.1 KB (added by JohnDoh, 3 years ago) |
|---|
-
program/js/app.js
old new 3408 3420 // currently all groups belong to the local address book 3409 3421 if (group) 3410 3422 src = 0; 3411 3412 if (!src) 3423 else if (!src) 3413 3424 src = this.env.source; 3414 3425 3415 3426 if (page && this.current_page == page && src == this.env.source && group == this.env.group) … … 3632 3643 return; 3633 3644 3634 3645 if (!this.name_input) { 3646 this.enable_command('list', 'listgroup', false); 3635 3647 this.name_input = document.createElement('input'); 3636 3648 this.name_input.type = 'text'; 3637 3649 this.name_input.value = this.env.contactgroups['G'+this.env.group].name; … … 3691 3703 else if (key == 27) 3692 3704 this.reset_add_input(); 3693 3705 3706 this.enable_command('list', 'listgroup', true); 3694 3707 return true; 3695 3708 }; 3696 3709 … … 3735 3748 link.innerHTML = name; 3736 3749 3737 3750 this.env.contactfolders[key].name = this.env.contactgroups[key].name = name; 3751 this.triggerEvent('updategroup', { id:id, name:name, li:li[0] }); 3738 3752 }; 3739 3753
