Changeset 5606


Ignore:
Timestamp:
03/02/12 10:50:50 (8 years ago)
Author:
thiago
Message:

Ticket #2486 - Problema de salvamento do label, considerando o espaço.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/mail/js/label.js

    r5603 r5606  
    8989}                
    9090         
    91 function save_editLabel(nameLabel){                      
    92         if(nameLabel.length >= 4){       
     91function save_editLabel(nameLabel){      
     92         
     93        var lengthSpace = $.trim(nameLabel); 
     94 
     95        if(lengthSpace.length >= 4){     
    9396                var qtdLi = $(".label-list-container ul").find("li").not(".empty-item").length;  
    9497                // salvar marcador 
Note: See TracChangeset for help on using the changeset viewer.