Changeset 1511

Show
Ignore:
Timestamp:
06/06/08 15:53:13 (7 months ago)
Author:
alo
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cherokee/trunk/ChangeLog

    r1510 r1511  
    112008-06-06  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
     2 
     3        * admin/flags.py: Added a protection for not adding the same 
     4        country more than once to the list. 
    25 
    36        * admin/configured.py.pre (DATADIR, CHEROKEE_PLUGINDIR), 
  • cherokee/trunk/admin/flags.py

    r1509 r1511  
    269269    var post       = cfg_key + "=" + value; 
    270270 
     271    /* Do not add the country if it's already in the list 
     272     */ 
     273    if (cfg_key_value.indexOf(selected) >= 0) 
     274       return; 
     275 
    271276    jQuery.post (url, post,  
    272277       function (data, textStatus) {