Use profile list as array, not object

This commit is contained in:
Ruud
2012-02-26 21:38:56 +01:00
parent ed7a220d47
commit 7a47ca96ed
2 changed files with 2 additions and 2 deletions
@@ -318,7 +318,7 @@ Block.Search.Item = new Class({
}).inject(self.title_select)
})
Object.each(Quality.getActiveProfiles(), function(profile){
Quality.getActiveProfiles().each(function(profile){
new Element('option', {
'value': profile.id ? profile.id : profile.data.id,
'text': profile.label ? profile.label : profile.data.label
+1 -1
View File
@@ -75,7 +75,7 @@ window.addEvent('domready', function(){
}).inject(self.title_select);
});
Object.each(Quality.getActiveProfiles(), function(profile){
Quality.getActiveProfiles().each(function(profile){
new Element('option', {
'value': profile.id ? profile.id : profile.data.id,
'text': profile.label ? profile.label : profile.data.label