Changeset 6072


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

Ticket #2674 - Problema corrigido com codigos em jquery

Location:
trunk
Files:
2 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" ) 
  • trunk/index.php

    r5042 r6072  
    99        *  option) any later version.                                              * 
    1010        \**************************************************************************/ 
    11  
     11         
    1212        $current_url = substr($_SERVER["SCRIPT_NAME"], 0, strpos($_SERVER["SCRIPT_NAME"],'index.php')); 
    1313 
     
    6363        if (($GLOBALS['phpgw_info']['server']['use_https'] == 2) && ($_SERVER['HTTPS'] != 'on')) 
    6464        { 
     65         
    6566                Header('Location: https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); 
    6667                exit; 
     
    140141                $GLOBALS['phpgw']->common->phpgw_footer(); 
    141142        }*/ 
     143                 
     144        echo '<script type="text/javascript" src="prototype/plugins/jquery/jquery.min.js"></script>'; 
    142145?> 
Note: See TracChangeset for help on using the changeset viewer.