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

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

Issue 18627002: Change dialog texts for folder upload to explicitly indicate it's for 'Uploading' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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_selection.js
diff --git a/chrome/browser/resources/file_manager/js/file_selection.js b/chrome/browser/resources/file_manager/js/file_selection.js
index cd7b1ee1715f4190ec8da1ef977f9c989b56eff1..0a74cc52a70007c191d8569da149150bd7818127 100644
--- a/chrome/browser/resources/file_manager/js/file_selection.js
+++ b/chrome/browser/resources/file_manager/js/file_selection.js
@@ -264,7 +264,8 @@ FileSelectionHandler.prototype.updateOkButton = function() {
var selectable;
var dialogType = this.fileManager_.dialogType;
- if (dialogType == DialogType.SELECT_FOLDER) {
+ if (dialogType == DialogType.SELECT_FOLDER ||
+ dialogType == DialogType.SELECT_UPLOAD_FOLDER) {
// In SELECT_FOLDER mode, we allow to select current directory
// when nothing is selected.
selectable = this.selection.directoryCount <= 1 &&

Powered by Google App Engine
This is Rietveld 408576698