Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5079)

Unified Diff: chrome/browser/resources/file_manager/js/file_manager.js

Issue 10082006: Not hiding butter for copy/move operations by timeout. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/file_manager/js/file_manager.js
diff --git a/chrome/browser/resources/file_manager/js/file_manager.js b/chrome/browser/resources/file_manager/js/file_manager.js
index 481ce465b10b1efff0c249132bd909320b51f8dd..267d66239d0ca286160ff7067d35b1acd85fa70a 100644
--- a/chrome/browser/resources/file_manager/js/file_manager.js
+++ b/chrome/browser/resources/file_manager/js/file_manager.js
@@ -1521,7 +1521,7 @@ FileManager.prototype = {
var self = this;
var progress = this.copyManager_.getProgress();
- var options = {progress: progress.percentage, actions: {}};
+ var options = {progress: progress.percentage, actions: {}, timeout: 0};
options.actions[str('CANCEL_LABEL')] = function cancelPaste() {
self.copyManager_.requestCancel();
};
@@ -1545,7 +1545,7 @@ FileManager.prototype = {
// Perform this check inside Progress event handler, avoid to log error
// message 'Unknown event reason: PROGRESS' in console.
if (this.currentButter_) {
- var options = {progress: progress.percentage};
+ var options = {progress: progress.percentage, timeout: 0};
this.updateButter(strf('PASTE_ITEMS_REMAINING', progress.pendingItems),
options);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698