Changeset 545 in subversion


Ignore:
Timestamp:
May 1, 2007 7:54:03 AM (6 years ago)
Author:
thomasb
Message:

Enable saving of contacts (closes #1484349)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/js/app.js

    r543 r545  
    246246        this.set_page_buttons(); 
    247247         
    248         var writeable; 
    249         if ((writeable = this.env.address_sources && !this.env.address_sources[this.env.source].readonly)) 
     248        if (this.env.address_sources && !this.env.address_sources[this.env.source].readonly) 
    250249          this.enable_command('add', true); 
    251250         
     
    253252          this.enable_command('show', 'edit', true); 
    254253 
    255         if ((this.env.action=='add' || this.env.action=='edit') && writeable && this.gui_objects.editform) 
     254        if ((this.env.action=='add' || this.env.action=='edit') && this.gui_objects.editform) 
    256255          this.enable_command('save', true); 
    257256        else 
Note: See TracChangeset for help on using the changeset viewer.