diff --git a/static/js/controllers.js b/static/js/controllers.js index 3d186ce88..dad3c47c1 100644 --- a/static/js/controllers.js +++ b/static/js/controllers.js @@ -2484,6 +2484,14 @@ function ManageApplicationCtrl($scope, $routeParams, $rootScope, $location, $tim 'client_id': clientId }; + if (!$scope.application['description']) { + delete $scope.application['description']; + } + + if (!$scope.application['gravatar_email']) { + delete $scope.application['gravatar_email']; + } + ApiService.updateOrganizationApplication($scope.application, params).then(function(resp) { $scope.application = resp; $scope.updating = false; diff --git a/static/partials/manage-application.html b/static/partials/manage-application.html index 6741aa67d..f14aa7a1b 100644 --- a/static/partials/manage-application.html +++ b/static/partials/manage-application.html @@ -61,13 +61,13 @@
-
An e-mail address representing the Gravatar for the application
+
An e-mail address representing the Gravatar for the application. See above for the icon.
- + -
The application's OAuth redirection/callback URL, invoked once access has been granted.
+
Allowed prefix for the application's OAuth redirection/callback URLs