diff options
author | jeff <jeff> | 2009-04-21 02:23:13 +0000 |
---|---|---|
committer | jeff <jeff> | 2009-04-21 02:23:13 +0000 |
commit | 8f548b7139b1bd093c2e23eafcd1e29e64f8e8b7 (patch) | |
tree | e00bb4bf8ed490b41b4f3834d3f4789cc282a02e /FS/FS | |
parent | 63bfee7f715403c6ff5d145c09b730928fce2100 (diff) |
more descriptive progress popups
Diffstat (limited to 'FS/FS')
-rw-r--r-- | FS/FS/UI/Web.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/FS/FS/UI/Web.pm b/FS/FS/UI/Web.pm index 3c52ca5..14af6a4 100644 --- a/FS/FS/UI/Web.pm +++ b/FS/FS/UI/Web.pm @@ -585,7 +585,9 @@ sub job_status { my @return; if ( $job && $job->status ne 'failed' ) { - @return = ( 'progress', $job->statustext ); + my ($progress, $action) = split ',', $job->statustext, 2; + $action ||= 'Server processing job'; + @return = ( 'progress', $progress, $action ); } elsif ( !$job ) { #handle job gone case : job successful # so close popup, redirect parent window... @return = ( 'complete' ); |