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

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

Issue 10835036: Not updating the document.title property for open/save dialogs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 11aef95b42c630a0ad5a3e94cda60114bf298a59..abb682f50abeafac783de9de181b25217b6d9523 100644
--- a/chrome/browser/resources/file_manager/js/file_manager.js
+++ b/chrome/browser/resources/file_manager/js/file_manager.js
@@ -3105,6 +3105,9 @@ FileManager.prototype = {
* Update the tab title.
*/
FileManager.prototype.updateTitle_ = function() {
+ if (this.dialogType_ != FileManager.DialogType.FULL_PAGE)
+ return;
+
this.document_.title = this.getCurrentDirectory().replace(
new RegExp('^' + RootDirectory.GDATA),
str('GDATA_DIRECTORY_LABEL'));
« 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