diff --git a/dashboard/src/views/app.js b/dashboard/src/views/app.js index dbb3d0c4d..d99953c8c 100644 --- a/dashboard/src/views/app.js +++ b/dashboard/src/views/app.js @@ -160,10 +160,12 @@ angular.module('Application').controller('AppController', ['$scope', '$location' Client.configureApp($scope.app.id, 'notes', { notes: $scope.info.notes.content }, function (error) { if (error) return console.error('Failed to save notes.', error); - $scope.info.notes.busy = false; - $scope.info.notes.editing = false; + refreshApp($scope.app.id, function (error) { + if (error) return Client.error(error); - $scope.refreshApp($scope.app.id); + $scope.info.notes.busy = false; + $scope.info.notes.editing = false; + }); }); } },