Ignore:
Timestamp:
03/25/11 12:36:46 (13 years ago)
Author:
alexandrecorreia
Message:

Ticket #1659 - Exportar arquivo html, modificado para enviar como um POST.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/filemanager/js/common_functions.js

    r3888 r3913  
    3131} 
    3232 
     33function configEvents(pObj, pEvent, pHandler) 
     34{ 
     35        if ( typeof pObj == 'object' ) 
     36        { 
     37                if ( pEvent.substring(0, 2) == 'on' ) 
     38                        pEvent = pEvent.substring(2, pEvent.length ); 
     39 
     40                if ( arguments.length == 3 ) 
     41                { 
     42                        if ( pObj.addEventListener ) 
     43                                pObj.addEventListener(pEvent, pHandler, false ); 
     44                        else if ( pObj.attachEvent ) 
     45                                pObj.attachEvent( 'on' + pEvent, pHandler ); 
     46                } 
     47                else if ( arguments.length == 4 ) 
     48                { 
     49                        if ( pObj.removeEventListener ) 
     50                                pObj.removeEventListener( pEvent, pHandler, false ); 
     51                        else if ( pObj.detachEvent ) 
     52                                pObj.detachEvent( 'on' + pEvent, pHandler ); 
     53                } 
     54        } 
     55} 
     56 
    3357function maxFileSize() 
    3458{ 
     
    172196                        var _html = Xtools.parse( Xtools.xml("upload_files"), "upload.xsl", pArgs ); 
    173197                         
    174                         draw_window( _html, 490, 350, get_lang("upload files"), "newUpload" ); 
     198                        draw_window( _html, 550, 350, get_lang("upload files"), "newUpload" ); 
    175199                 
    176200                        if( pArgs.emails_to != null ) 
Note: See TracChangeset for help on using the changeset viewer.