diff --git a/src/views/app.html b/src/views/app.html index 1530ff1ff..a2cb90d35 100644 --- a/src/views/app.html +++ b/src/views/app.html @@ -9,7 +9,7 @@
-
+
{{ app | installationStateLabel:user }}
@@ -355,18 +355,14 @@
- +
-
- Saved -
- -
- +
+
diff --git a/src/views/app.js b/src/views/app.js index a5bb6d919..2becef493 100644 --- a/src/views/app.js +++ b/src/views/app.js @@ -292,6 +292,7 @@ angular.module('Application').controller('AppController', ['$scope', '$location' Client.configureApp($scope.app.id, 'memory_limit', { memoryLimit: memoryLimit }, function (error) { if (error) return Client.error(error); + $scope.resources.currentMemoryLimit = $scope.resources.memoryLimit; $scope.resources.success = true; $scope.resources.busy = false; @@ -334,12 +335,14 @@ angular.module('Application').controller('AppController', ['$scope', '$location' error: {}, success: false, + currentRobotsTxt: '', robotsTxt: '', show: function () { var app = $scope.app; - $scope.security.robotsTxt = app.robotsTxt; + $scope.security.currentRobotsTxt = app.robotsTxt; + $scope.security.robotsTxt = $scope.security.currentRobotsTxt; }, submit: function () { @@ -349,6 +352,7 @@ angular.module('Application').controller('AppController', ['$scope', '$location' Client.configureApp($scope.app.id, 'robots_txt', { robotsTxt: $scope.security.robotsTxt }, function (error,) { if (error) return Client.error(error); + $scope.security.currentRobotsTxt = $scope.security.robotsTxt; $scope.security.success = true; $scope.security.busy = false; });