Use profile list as array, not object
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user