Changeset 8251


Ignore:
Timestamp:
11/21/13 10:31:21 (10 years ago)
Author:
angelo
Message:

Ticket #3498 - Nao esta salvando usuarios na lista de scl e apaga os que existem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoAdmin1_2/js/jscode/maillists.js

    r7752 r8251  
    139139function return_handler_save_scl(data) 
    140140{ 
     141        console.log('pre alert'); 
    141142        if (!data.status) 
    142143                alert(data.msg); 
    143144        else 
    144145                alert(get_lang('SCL successful saved') + '.'); 
     146        console.log('pos alert'); 
    145147        location.href="./index.php?menuaction=expressoAdmin1_2.uimaillists.list_maillists"; 
    146148        return; 
     
    278280                } 
    279281        } 
    280  
    281282        if (new_options != '') 
    282283        { 
    283                 select_usersInMaillist.innerHTML = '#' + new_options + select_usersInMaillist.innerHTML; 
    284                 select_usersInMaillist.outerHTML = select_usersInMaillist.outerHTML; 
     284                usersOptionsHtml = select_usersInMaillist.innerHTML; 
     285                usersOptionsHtml = (($.browser.msie && $.browser.version < 9) ? '#' : '&nbsp;') + new_options + usersOptionsHtml; 
     286                $(select_usersInMaillist).html(usersOptionsHtml); 
    285287        } 
    286288} 
Note: See TracChangeset for help on using the changeset viewer.