| Index: ui/file_manager/file_manager/foreground/js/suggest_apps_dialog.js
|
| diff --git a/ui/file_manager/file_manager/foreground/js/suggest_apps_dialog.js b/ui/file_manager/file_manager/foreground/js/suggest_apps_dialog.js
|
| index f5a46e7806a2ee9b4b7ef661b732e352aa399de5..8a279fe4a2b2a0a10763c5cb4f5d4d0336c070f8 100644
|
| --- a/ui/file_manager/file_manager/foreground/js/suggest_apps_dialog.js
|
| +++ b/ui/file_manager/file_manager/foreground/js/suggest_apps_dialog.js
|
| @@ -386,21 +386,21 @@ SuggestAppsDialog.prototype.onInstallCompleted_ = function(result, error) {
|
| this.installingItemId_ = null;
|
|
|
| switch (result) {
|
| - case AppInstaller.Result.SUCCESS:
|
| - SuggestAppsDialog.Metrics.recordInstall(
|
| - SuggestAppsDialog.Metrics.INSTALL.SUCCESS);
|
| - this.hide();
|
| - break;
|
| - case AppInstaller.Result.CANCELLED:
|
| - SuggestAppsDialog.Metrics.recordInstall(
|
| - SuggestAppsDialog.Metrics.INSTALL.CANCELLED);
|
| - // User cancelled the installation. Do nothing.
|
| - break;
|
| - case AppInstaller.Result.ERROR:
|
| - SuggestAppsDialog.Metrics.recordInstall(
|
| - SuggestAppsDialog.Metrics.INSTALL.FAILED);
|
| - fileManager.error.show(str('SUGGEST_DIALOG_INSTALLATION_FAILED'));
|
| - break;
|
| + case AppInstaller.Result.SUCCESS:
|
| + SuggestAppsDialog.Metrics.recordInstall(
|
| + SuggestAppsDialog.Metrics.INSTALL.SUCCESS);
|
| + this.hide();
|
| + break;
|
| + case AppInstaller.Result.CANCELLED:
|
| + SuggestAppsDialog.Metrics.recordInstall(
|
| + SuggestAppsDialog.Metrics.INSTALL.CANCELLED);
|
| + // User cancelled the installation. Do nothing.
|
| + break;
|
| + case AppInstaller.Result.ERROR:
|
| + SuggestAppsDialog.Metrics.recordInstall(
|
| + SuggestAppsDialog.Metrics.INSTALL.FAILED);
|
| + fileManager.error.show(str('SUGGEST_DIALOG_INSTALLATION_FAILED'));
|
| + break;
|
| }
|
| };
|
|
|
|
|