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

Unified Diff: trunk/src/chrome/browser/resources/file_manager/foreground/js/file_manager.js

Issue 133223002: Revert 243816 "[Files.app] Change sort timing during metadata fetch" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 11 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
Index: trunk/src/chrome/browser/resources/file_manager/foreground/js/file_manager.js
===================================================================
--- trunk/src/chrome/browser/resources/file_manager/foreground/js/file_manager.js (revision 244077)
+++ trunk/src/chrome/browser/resources/file_manager/foreground/js/file_manager.js (working copy)
@@ -2605,6 +2605,7 @@
if (this.commandHandler)
this.commandHandler.updateAvailability();
this.hideSpinnerLater_();
+ this.refreshCurrentDirectoryMetadata_();
if (this.scanUpdatedTimer_) {
clearTimeout(this.scanUpdatedTimer_);
@@ -2696,6 +2697,7 @@
* @private
*/
FileManager.prototype.onRescanCompleted_ = function() {
+ this.refreshCurrentDirectoryMetadata_();
this.selectionHandler_.onFileSelectionChanged();
};

Powered by Google App Engine
This is Rietveld 408576698