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  
    34083420    // currently all groups belong to the local address book 
    34093421    if (group) 
    34103422      src = 0; 
    3411      
    3412     if (!src) 
     3423    else if (!src) 
    34133424      src = this.env.source; 
    34143425     
    34153426    if (page && this.current_page == page && src == this.env.source && group == this.env.group) 
     
    36323643      return; 
    36333644     
    36343645    if (!this.name_input) { 
     3646      this.enable_command('list', 'listgroup', false); 
    36353647      this.name_input = document.createElement('input'); 
    36363648      this.name_input.type = 'text'; 
    36373649      this.name_input.value = this.env.contactgroups['G'+this.env.group].name; 
     
    36913703    else if (key == 27) 
    36923704      this.reset_add_input(); 
    36933705       
     3706    this.enable_command('list', 'listgroup', true); 
    36943707    return true; 
    36953708  }; 
    36963709   
     
    37353748      link.innerHTML = name; 
    37363749     
    37373750    this.env.contactfolders[key].name = this.env.contactgroups[key].name = name; 
     3751    this.triggerEvent('updategroup', { id:id, name:name, li:li[0] }); 
    37383752  }; 
    37393753