diff --git a/webadmin/src/js/client.js b/webadmin/src/js/client.js index 248f16180..1ef087679 100644 --- a/webadmin/src/js/client.js +++ b/webadmin/src/js/client.js @@ -859,11 +859,12 @@ angular.module('Application').service('Client', ['$http', '$interval', 'md5', 'N }).error(defaultErrorHandler(callback)); }; - Client.prototype.feedback = function (type, subject, description, callback) { + Client.prototype.feedback = function (type, subject, description, appId /* optional */, callback) { var data = { type: type, subject: subject, - description: description + description: description, + appId: appId || undefined }; post('/api/v1/feedback', data).success(function (data, status) { diff --git a/webadmin/src/views/appstore.js b/webadmin/src/views/appstore.js index c60b3bd4d..f89d04211 100644 --- a/webadmin/src/views/appstore.js +++ b/webadmin/src/views/appstore.js @@ -240,7 +240,7 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$loca $scope.feedback.busy = true; $scope.feedback.error = null; - Client.feedback($scope.feedback.type, $scope.feedback.subject, $scope.feedback.description, function (error) { + Client.feedback($scope.feedback.type, $scope.feedback.subject, $scope.feedback.description, null, function (error) { $scope.feedback.busy = false; if (error) { diff --git a/webadmin/src/views/support.html b/webadmin/src/views/support.html index cfcff5acd..10e830818 100644 --- a/webadmin/src/views/support.html +++ b/webadmin/src/views/support.html @@ -34,17 +34,21 @@