From d38bd03422cabbf6518eaa5833c8ce2187e9bcad Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 30 Sep 2012 17:15:47 +0200 Subject: [PATCH] Use finish by default when adding new type --- couchpotato/core/plugins/profile/static/profile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/profile/static/profile.js b/couchpotato/core/plugins/profile/static/profile.js index 947da1d..3bb4498 100644 --- a/couchpotato/core/plugins/profile/static/profile.js +++ b/couchpotato/core/plugins/profile/static/profile.js @@ -242,7 +242,7 @@ Profile.Type = new Class({ ), new Element('span.finish').adopt( self.finish = new Element('input.inlay.finish[type=checkbox]', { - 'checked': data.finish, + 'checked': data.finish !== undefined ? data.finish : 1, 'events': { 'change': function(e){ if(self.el == self.el.getParent().getElement(':first-child')){