Ignore:
Timestamp:
Jul 23, 2008, 8:00:21 PM (16 years ago)
Author:
mmc
Message:

Fixed the Rappture::filexfer facility so that if importfile/exportfile
commands are not available, it reverts to local Load/Save? operations.
This is important for applications that are not deployed in a hub, but
used instead in a standard desktop environment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/bugreport.tcl

    r743 r1077  
    8383    }
    8484
    85     if {[Rappture::filexfer::enabled]} {
    86         .bugreport.details.cntls.dload configure -state normal
    87     } else {
    88         .bugreport.details.cntls.dload configure -state disabled
    89     }
    90 
    9185    set w [winfo reqwidth .bugreport]
    9286    set h [winfo reqheight .bugreport]
     
    180174# ----------------------------------------------------------------------
    181175proc Rappture::bugreport::download {} {
    182     if {[Rappture::filexfer::enabled]} {
    183         set info [.bugreport.details.info.text get 1.0 end]
    184         Rappture::filexfer::download $info bugreport.txt
    185     }
     176    set info [.bugreport.details.info.text get 1.0 end]
     177    Rappture::filexfer::download $info bugreport.txt
    186178}
    187179
Note: See TracChangeset for help on using the changeset viewer.