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

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

Issue 10828090: Revert 149153 - In case of search add "Searching..." string to the spinner in the center. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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: chrome/browser/resources/file_manager/js/file_manager.js
===================================================================
--- chrome/browser/resources/file_manager/js/file_manager.js (revision 149155)
+++ chrome/browser/resources/file_manager/js/file_manager.js (working copy)
@@ -609,7 +609,7 @@
this.deleteButton_ = this.dialogDom_.querySelector('#delete-button');
this.table_ = this.dialogDom_.querySelector('.detail-table');
this.grid_ = this.dialogDom_.querySelector('.thumbnail-grid');
- this.spinner_ = this.dialogDom_.querySelector('#spinner-with-text');
+ this.spinner_ = this.dialogDom_.querySelector('.spinner');
this.showSpinner_(false);
this.butter_ = this.dialogDom_.querySelector('.butter-bar');
this.unmountedPanel_ = this.dialogDom_.querySelector('#unmounted-panel');
@@ -3317,13 +3317,7 @@
FileManager.prototype.showSpinner_ = function(on) {
this.cancelSpinnerTimeout_();
- if (on) {
- this.spinner_.textContent =
- this.directoryModel_.isSearching() ? str('SEARCH_SPINNER') : '';
- this.spinner_.style.display = '';
- } else {
- this.spinner_.style.display = 'none';
- }
+ this.spinner_.style.display = on ? '' : 'none';
};
FileManager.prototype.onNewFolderCommand_ = function(event) {
« no previous file with comments | « chrome/browser/resources/file_manager/css/file_manager.css ('k') | chrome/browser/resources/file_manager/js/mock_chrome.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698