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

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

Issue 11827050: Files app: fix "Buy more storage" link in the low Drive space warning (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/drive_banners.js
diff --git a/chrome/browser/resources/file_manager/js/drive_banners.js b/chrome/browser/resources/file_manager/js/drive_banners.js
index 23c0288c16156a823989358d8c00e8b523f75445..eeaf0441d4c5afbdfcbe61126291cf9eae4019f9 100644
--- a/chrome/browser/resources/file_manager/js/drive_banners.js
+++ b/chrome/browser/resources/file_manager/js/drive_banners.js
@@ -282,10 +282,11 @@ FileListBannerController.prototype.showLowGDriveSpaceWarning_ =
util.bytesToSi(sizeStats.remainingSizeKB * 1024));
box.appendChild(text);
- var link = this.document_.createElement('div');
+ var link = this.document_.createElement('a');
link.className = 'plain-link';
link.textContent = str('DRIVE_BUY_MORE_SPACE_LINK');
link.href = GOOGLE_DRIVE_BUY_STORAGE;
+ link.target = '_blank';
box.appendChild(link);
var close = this.document_.createElement('div');
« 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