Changeset 4299


Ignore:
Timestamp:
05/10/11 10:03:18 (13 years ago)
Author:
niltonneto
Message:

Ticket #1856 - Corrigido problema ao alterar versão e não atualizar cache do browser.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoMail1_2/index.php

    r4023 r4299  
    188188        // os demais pois nele contem a função get_lang 
    189189        // que é utilizada em diversas partes 
    190         echo $obj -> getFilesJs("js/common_functions.js"); 
     190        echo $obj -> getFilesJs("js/common_functions.js",$update_version); 
    191191        include("inc/load_lang.php"); 
    192192 
    193193        // INCLUDE these JS Files: 
    194194        if ($_SESSION['phpgw_info']['user']['preferences']['expressoMail']['use_local_messages'])  
    195                 echo "<script src='js/gears_init.js'></script>"; 
    196         echo '<script src="../phpgwapi/js/dftree/dftree.js"></script>'; 
     195                echo "<script src='js/gears_init.js".$update_version."'></script>"; 
     196        echo '<script src="../phpgwapi/js/dftree/dftree.js?'.$update_version.'"></script>'; 
    197197        $scripts = "js/abas.js," . 
    198198                                "js/main.js," . 
     
    204204                                "js/DropDownContacts.js," . 
    205205                                "js/doiMenuData.js," . 
    206                                 "js/connector.js," . 
    207                                 $GLOBALS['phpgw_info']['flags']['update_version']; 
    208          
    209         echo $obj -> getFilesJs($scripts); 
     206                                "js/connector.js"; 
     207         
     208        echo $obj -> getFilesJs($scripts,$update_version); 
    210209        echo '<script type="text/javascript">init();</script>'; 
    211210 
    212211        if ($GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_shortcuts']) 
    213212        { 
    214                 echo $obj -> getFilesJs("js/shortcut.js", $GLOBALS['phpgw_info']['flags']['update_version']); 
     213                echo $obj -> getFilesJs("js/shortcut.js", $update_version); 
    215214        } 
    216215 
Note: See TracChangeset for help on using the changeset viewer.