Setting labels
This commit is contained in:
@@ -238,7 +238,7 @@ var OptionBase = new Class({
|
|||||||
createLabel: function(){
|
createLabel: function(){
|
||||||
var self = this;
|
var self = this;
|
||||||
return new Element('label', {
|
return new Element('label', {
|
||||||
'text': (self.options.label || self.options.name).capitalize()
|
'text': (self.options.label || self.options.name.replace('_', ' ')).capitalize()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user