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

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

Issue 10409054: Do not show 'No files match "..."' message when GDrive welcome page is shown. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 138102)
+++ chrome/browser/resources/file_manager/js/file_manager.js (working copy)
@@ -4488,14 +4488,14 @@
if (this.directoryModel_.getFileList().length === 0) {
var text = strf('SEARCH_NO_MATCHING_FILES', searchString);
noResultsDiv.innerHTML = text;
- noResultsDiv.hidden = false;
+ noResultsDiv.setAttribute('show', 'true');
} else {
- noResultsDiv.hidden = true;
+ noResultsDiv.removeAttribute('show');
}
}
function hideNoResultsDiv() {
- noResultsDiv.hidden = true;
+ noResultsDiv.removeAttribute('show');
}
this.directoryModel_.search(searchString,
« no previous file with comments | « chrome/browser/resources/file_manager/css/file_manager.css ('k') | chrome/browser/resources/file_manager/main.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698