From 745b262800afd8b89ed2ec566d8042c6314c1977 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sat, 22 Mar 2014 23:10:31 +0100 Subject: [PATCH] Don't check 3d checkbox on add --- couchpotato/core/plugins/profile/static/profile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/couchpotato/core/plugins/profile/static/profile.js b/couchpotato/core/plugins/profile/static/profile.js index 2c3d05e7..47b92a56 100644 --- a/couchpotato/core/plugins/profile/static/profile.js +++ b/couchpotato/core/plugins/profile/static/profile.js @@ -100,7 +100,7 @@ var Profile = new Class({ 'onComplete': function(json){ if(json.success){ self.data = json.profile; - self.type_container.getElement('li:first-child input[type=checkbox]') + self.type_container.getElement('li:first-child input.finish[type=checkbox]') .set('checked', true) .getParent().addClass('checked'); } @@ -278,7 +278,7 @@ Profile.Type = new Class({ self['3d_container'] = new Element('label.threed').adopt( new Element('span.3d').grab( self['3d'] = new Element('input.inlay.3d[type=checkbox]', { - 'checked': data['3d'] !== undefined ? data['3d'] : 1, + 'checked': data['3d'] !== undefined ? data['3d'] : 0, 'events': { 'change': function(e){ self.fireEvent('change');