File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -358,8 +358,9 @@ FileProgress.prototype.setCancelled = function(manual) {
358358 progressContainer += ' red' ;
359359 }
360360 this . fileProgressWrapper . attr ( 'class' , progressContainer ) ;
361- this . fileProgressWrapper . find ( 'td .progress .progress-bar-info ' ) . css ( 'width' , 0 ) ;
361+ this . fileProgressWrapper . find ( 'td .progress' ) . remove ( ) ;
362362 this . fileProgressWrapper . find ( 'td:eq(2) .btn-default' ) . hide ( ) ;
363+ this . fileProgressWrapper . find ( 'td:eq(2) .progressCancel' ) . hide ( ) ;
363364} ;
364365
365366FileProgress . prototype . setStatus = function ( status , isUploading ) {
@@ -375,9 +376,8 @@ FileProgress.prototype.uploadCancel = function(up) {
375376 self . fileProgressWrapper . find ( 'td:eq(2) .progressCancel' ) . on ( 'click' , function ( ) {
376377 self . setCancelled ( false ) ;
377378 self . setStatus ( "取消上传" ) ;
378- // var status_before = self.file. status;
379+ self . fileProgressWrapper . find ( '. status' ) . css ( 'left' , '0' ) ;
379380 up . removeFile ( self . file ) ;
380- up . stop ( ) ;
381381 return true ;
382382 } ) ;
383383 }
You can’t perform that action at this time.
0 commit comments