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

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

Issue 7109033: file manager: Fix okButton updating. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
« 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: chrome/browser/resources/file_manager/js/file_manager.js
diff --git a/chrome/browser/resources/file_manager/js/file_manager.js b/chrome/browser/resources/file_manager/js/file_manager.js
index 4ecc60e594ca8096e84a4805dc9102edcd289dbd..e3b69f6b6647d1cd9bd4f21db161e90ff4f91638 100644
--- a/chrome/browser/resources/file_manager/js/file_manager.js
+++ b/chrome/browser/resources/file_manager/js/file_manager.js
@@ -72,7 +72,6 @@ function FileManager(dialogDom, rootEntries, params) {
this.initDialogType_();
this.summarizeSelection_();
- this.updateOkButton_();
this.updatePreview_();
chrome.fileBrowserPrivate.onDiskChanged.addListener(
@@ -1648,6 +1647,7 @@ FileManager.prototype = {
location.href);
}
+ this.updateOkButton_();
// New folder should never be enabled in the root or media/ directories.
this.newFolderButton_.disabled =
(this.currentDirEntry_.fullPath == '/' ||
« 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