| Index: remoting/webapp/app_remoting/js/feedback_consent.js
|
| diff --git a/remoting/webapp/app_remoting/js/feedback_consent.js b/remoting/webapp/app_remoting/js/feedback_consent.js
|
| index 9dce2383a0a891e5f732b02b64cc48b45e924415..2195ea50c7b6b68408f67e65209872c6fb6ff49a 100644
|
| --- a/remoting/webapp/app_remoting/js/feedback_consent.js
|
| +++ b/remoting/webapp/app_remoting/js/feedback_consent.js
|
| @@ -5,6 +5,11 @@
|
| 'use strict';
|
|
|
| /**
|
| + * @type {string} The app id (from the webstore) for this application.
|
| + */
|
| +var appId = '';
|
| +
|
| +/**
|
| * @type {string} The host id corresponding to the user's VM. The @pending
|
| * place-holder instructs the Orchestrator to abandon any pending host,
|
| * and is used if no host id is provided by the main window.
|
| @@ -140,7 +145,7 @@ function onToken(token) {
|
| 'crashServiceReportId': crashServiceReportId
|
| };
|
| var uri = remoting.settings.APP_REMOTING_API_BASE_URL +
|
| - '/applications/' + remoting.settings.getAppRemotingApplicationId() +
|
| + '/applications/' + appId +
|
| '/hosts/' + hostId +
|
| '/reportIssue';
|
| var onDone = function(/** !remoting.Xhr.Response */ response) {
|
| @@ -250,6 +255,7 @@ function onWindowMessage(event) {
|
| if (event.data['hostId']) {
|
| hostId = /** @type {string} */ (event.data['hostId']);
|
| }
|
| + appId = /** @type {string} */ (event.data['appId']);
|
| connectionStats = /** @type {string} */ (event.data['connectionStats']);
|
| sessionId = /** @type {string} */ (event.data['sessionId']);
|
| }
|
|
|