From 6aa97711702df61902611d5f7a0be17f83a2740a Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Tue, 19 Aug 2014 19:42:08 +0200 Subject: [PATCH] Reset value in env_var controller also based on public attr When we switch from private to public env var, we don't want to set "***********" as a new value of a var. --- assets/scripts/app/controllers/env_var.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/scripts/app/controllers/env_var.coffee b/assets/scripts/app/controllers/env_var.coffee index 6b702d8e..c0fe6179 100644 --- a/assets/scripts/app/controllers/env_var.coffee +++ b/assets/scripts/app/controllers/env_var.coffee @@ -18,7 +18,7 @@ Travis.EnvVarController = Ember.ObjectController.extend Travis.Validations, @get('model.value') else '••••••••••••••••' - ).property('model.value') + ).property('model.value', 'public') actions: delete: ->