Update on edit

This commit is contained in:
Ruud
2012-05-22 21:52:06 +02:00
parent 4774deaa80
commit d362827a8b
2 changed files with 28 additions and 11 deletions
+7 -1
View File
@@ -72,14 +72,20 @@ window.addEvent('domready', function(){
new Element('option', {
'text': alt.title
}).inject(self.title_select);
if(alt['default'])
self.title_select.set('value', alt.title);
});
Quality.getActiveProfiles().each(function(profile){
new Element('option', {
'value': profile.id ? profile.id : profile.data.id,
'text': profile.label ? profile.label : profile.data.label
}).inject(self.profile_select);
self.profile_select.set('value', (self.movie.profile || {})['id']);
if(self.movie.profile)
self.profile_select.set('value', self.movie.profile.data.id);
});
}