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

Unified Diff: ui/file_manager/file_manager/foreground/js/import_controller.js

Issue 1020083002: Don't show import buttons when import is disabled, and use correct icons for insufficient space sta… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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: ui/file_manager/file_manager/foreground/js/import_controller.js
diff --git a/ui/file_manager/file_manager/foreground/js/import_controller.js b/ui/file_manager/file_manager/foreground/js/import_controller.js
index 7c23a6b9dd6833f647ac6bb2f0e6c23654b3f23a..777e3a7ab02024048de82032c597d17583fdf0c9 100644
--- a/ui/file_manager/file_manager/foreground/js/import_controller.js
+++ b/ui/file_manager/file_manager/foreground/js/import_controller.js
@@ -669,7 +669,7 @@ importer.RuntimeCommandWidget.prototype.update =
this.mainButton_.hidden = false;
this.sideButton_.hidden = false;
- this.panelButton_.hidden = false;
+ this.panelButton_.hidden = true;
this.toolbarIcon_.setAttribute('icon', 'autorenew');
this.statusIcon_.setAttribute('icon', 'autorenew');
@@ -689,10 +689,10 @@ importer.RuntimeCommandWidget.prototype.update =
this.mainButton_.hidden = false;
this.sideButton_.hidden = false;
- this.panelButton_.hidden = false;
+ this.panelButton_.hidden = true;
- this.toolbarIcon_.setAttribute('icon', 'image:photo');
- this.statusIcon_.setAttribute('icon', 'cloud-off');
+ this.toolbarIcon_.setAttribute('icon', 'cloud-off');
+ this.statusIcon_.setAttribute('icon', 'image:photo');
break;
case importer.ActivityState.NO_MEDIA:
« 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