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

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

Issue 8565033: cros: Fix file open rescan directory callback on Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 a95cfaca694db6f8c8955fd6aed0dd166d9ce0f9..f5005e63a47f2daaf8a712e4c61ca810351b803a 100644
--- a/chrome/browser/resources/file_manager/js/file_manager.js
+++ b/chrome/browser/resources/file_manager/js/file_manager.js
@@ -3069,7 +3069,8 @@ FileManager.prototype = {
spliceArgs.unshift(0, 0); // index, deleteCount
this.dataModel_.splice.apply(this.dataModel_, spliceArgs);
- rescanDone();
+ if (opt_callback)
+ opt_callback();
};
FileManager.prototype.findListItem_ = function(event) {
« 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