Commit 9e1950cf authored by smckay's avatar smckay Committed by Commit bot

Use correct tooltips for insufficient space and no-media states.

BUG=464578
TEST=Launch the app, check the tooltip when fully backed up.

Review URL: https://codereview.chromium.org/988413004

Cr-Commit-Position: refs/heads/master@{#319813}
parent 9fdfd058
...@@ -661,7 +661,7 @@ importer.RuntimeCommandWidget.prototype.update = ...@@ -661,7 +661,7 @@ importer.RuntimeCommandWidget.prototype.update =
console.assert(!!opt_scan, 'Scan not defined, but is required.'); console.assert(!!opt_scan, 'Scan not defined, but is required.');
this.mainButton_.setAttribute('title', strf( this.mainButton_.setAttribute('title', strf(
'CLOUD_IMPORT_STATUS_INSUFFICIENT_SPACE')); 'CLOUD_IMPORT_TOOLTIP_INSUFFICIENT_SPACE'));
this.statusContent_.innerHTML = strf( this.statusContent_.innerHTML = strf(
'CLOUD_IMPORT_STATUS_INSUFFICIENT_SPACE', 'CLOUD_IMPORT_STATUS_INSUFFICIENT_SPACE',
opt_scan.getFileEntries().length); opt_scan.getFileEntries().length);
...@@ -678,7 +678,7 @@ importer.RuntimeCommandWidget.prototype.update = ...@@ -678,7 +678,7 @@ importer.RuntimeCommandWidget.prototype.update =
case importer.ActivityState.NO_MEDIA: case importer.ActivityState.NO_MEDIA:
this.mainButton_.setAttribute('title', str( this.mainButton_.setAttribute('title', str(
'CLOUD_IMPORT_STATUS_NO_MEDIA')); 'CLOUD_IMPORT_TOOLTIP_NO_MEDIA'));
this.statusContent_.innerHTML = str( this.statusContent_.innerHTML = str(
'CLOUD_IMPORT_STATUS_NO_MEDIA'); 'CLOUD_IMPORT_STATUS_NO_MEDIA');
......
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