Changeset 2439 for trunk/phpgwapi


Ignore:
Timestamp:
04/07/10 08:17:49 (14 years ago)
Author:
rodsouza
Message:

Ticket #1009 - Permitindo que o ExpressoCalendar? não realize reload de página.

Location:
trunk/phpgwapi
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/inc/class.common.inc.php

    r2420 r2439  
    12321232                        echo "<script type='text/javascript'>var URL_SERVER = '".$GLOBALS['phpgw_info']['server']['webserver_url']."';</script>"; 
    12331233                        echo $GLOBALS['phpgw']->js->get_script_links(); 
     1234 
     1235                        $GLOBALS['phpgw']->js->unset_script_link( 'phpgwapi','tools' ); 
    12341236 
    12351237                        $GLOBALS['phpgw']->js->unset_script_link('phpgwapi','expressoAjax'); 
  • trunk/phpgwapi/inc/class.jscalendar.inc.php

    r771 r2439  
    8383                        return 
    8484'<input type="text" id="'.$name.'" name="'.$name.'" size="10" value="'.$date.'"'.$options.'/> 
     85<img id="'.$name.'-trigger" src="'.$GLOBALS['phpgw']->common->find_image('phpgwpai','datepopup').'" title="'.lang('Select date').'" style="cursor:pointer; cursor:hand;"/> 
    8586<script type="text/javascript"> 
    86         document.writeln(\'<img id="'.$name.'-trigger" src="'.$GLOBALS['phpgw']->common->find_image('phpgwpai','datepopup').'" title="'.lang('Select date').'" style="cursor:pointer; cursor:hand;"/>\'); 
    8787        Calendar.setup( 
    8888        { 
  • trunk/phpgwapi/inc/class.phpgw.inc.php

    r2419 r2439  
    151151                                if ( strpos( $url, '?' ) === false ) 
    152152                                        $url .= '?'; 
     153                                else 
     154                                        $url .= '&'; 
    153155                                $url .= 'BackgroundRequest=requested'; 
    154156                        } 
  • trunk/phpgwapi/js/tools/xlink.js

    r2420 r2439  
    1111                */ 
    1212                var a = ( action.indexOf( 'admin/' ) > 0 || action.indexOf( '=admin.' ) > 0 ); 
     13                a = ( a || action.indexOf( 'calendar/' ) > 0 || action.indexOf( '=calendar.' ) > 0 ); 
    1314                a = ! ( a && ! ( action.indexOf( '#' ) === 0 || action.indexOf( window.location + '#' ) === 0 || action.indexOf( 'javascript:' ) === 0 ) ); 
    1415 
  • trunk/phpgwapi/js/wz_dragdrop/wz_dragdrop.js

    r2 r2439  
    13151315                } 
    13161316        } 
    1317         if (dd.n4 || dd.n6 || dd.ie || dd.op || dd.w3c) document.write( 
    1318                 (dd.n4? '<div style="position:absolute;"><\/div>\n' 
    1319                 : (dd.op && !dd.op6)? '<div id="OpBlUr" style="position:absolute;visibility:hidden;width:0px;height:0px;"><form><input type="text" style="width:0px;height:0px;"><\/form><\/div>' 
    1320                 : '') + d_htm 
    1321         ); 
     1317        //if (dd.n4 || dd.n6 || dd.ie || dd.op || dd.w3c) document.write( 
     1318        //      (dd.n4? '<div style="position:absolute;"><\/div>\n' 
     1319        //      : (dd.op && !dd.op6)? '<div id="OpBlUr" style="position:absolute;visibility:hidden;width:0px;height:0px;"><form><input type="text" style="width:0px;height:0px;"><\/form><\/div>' 
     1320        //      : '') + d_htm 
     1321        //); 
    13221322        dd.z = 0x33; 
    13231323        d_i = dd.elements.length; while (d_i--) 
Note: See TracChangeset for help on using the changeset viewer.