Ignore:
Timestamp:
05/02/12 16:46:46 (12 years ago)
Author:
thiago
Message:

Ticket #2674 - Problema corrigido com codigos em jquery

File:
1 edited

Legend:

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

    r5407 r6072  
    187187        var select = Element( selectId ); 
    188188 
    189         select.innerHTML = fill; 
    190  
     189        //select.innerHTML = fill; 
     190         
     191        $("#"+selectId).html(fill); 
     192         
    191193        return( select.options.length ); 
    192194    } 
    193195 
    194196    var content = ""; 
    195  
     197         
    196198    for( var section in fill ) 
    197199    { 
     
    200202 
    201203        var entry = entryTag( section ); 
    202  
    203         content += entry.outerHTML; 
     204         
     205        if(typeof entry == "string") 
     206                content += entry; 
     207        else 
     208                content += entry.outerHTML; 
     209         
    204210        content += fill[section]; 
    205     } 
    206  
     211    }    
     212         
    207213    return fillContentSelect( content, selectId ); 
    208214} 
     
    212218{ 
    213219    var line = '-------------------'; 
    214  
    215     var option = new Option( line + ' ' + get_lang(label) + ' ' + line + ' ', -1 ); 
    216     option.disabled = true; 
     220         
     221    //var option = new Option( line + ' ' + get_lang(label) + ' ' + line + ' ', -1 ); 
     222    //option.disabled = true; 
     223         
     224        var option = "<option value='-1' disabled='disabled'>"+line+" "+get_lang(label)+" "+line+"</option>"; 
    217225 
    218226    if( typeof select === "undefined" ) 
Note: See TracChangeset for help on using the changeset viewer.