Index: ui/file_manager/file_manager/background/js/file_operation_util.js |
diff --git a/ui/file_manager/file_manager/background/js/file_operation_util.js b/ui/file_manager/file_manager/background/js/file_operation_util.js |
index 4c7d0c459d7cd4ab631487f2688183a9d797b5cb..e22c63fb276caced9c36174696e5b7151eaf9eab 100644 |
--- a/ui/file_manager/file_manager/background/js/file_operation_util.js |
+++ b/ui/file_manager/file_manager/background/js/file_operation_util.js |
@@ -578,8 +578,9 @@ fileOperationUtil.Task.prototype.initialize = function(callback) { |
fileOperationUtil.Task.prototype.requestCancel = function() { |
this.cancelRequested_ = true; |
if (this.cancelCallback_) { |
- this.cancelCallback_(); |
+ var callback = this.cancelCallback_; |
this.cancelCallback_ = null; |
+ callack(); |
} |
}; |