Commit 8991f2b1 authored by serya@chromium.org's avatar serya@chromium.org

Not updating the document.title property for open/save dialogs.

BUG=131355
TEST=Manual test.


Review URL: https://chromiumcodereview.appspot.com/10835036

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149094 0039d316-1c4b-4281-b951-d872f2087c98
parent cdc85e02
......@@ -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'));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment