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

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

Issue 11601005: [filemanager] Fix encoding issue in file watcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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/directory_model.js
===================================================================
--- chrome/browser/resources/file_manager/js/directory_model.js (revision 173427)
+++ chrome/browser/resources/file_manager/js/directory_model.js (working copy)
@@ -1340,7 +1340,7 @@
* @private
*/
FileWatcher.prototype.onDirectoryChanged_ = function(event) {
- if (encodeURI(event.directoryUrl) == this.watchedDirectoryEntry_.toURL())
+ if (event.directoryUrl == this.watchedDirectoryEntry_.toURL())
this.onFileInWatchedDirectoryChanged();
};
« 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