Setting labels
This commit is contained in:
1 parent
52c086fe1b
commit
c9a5752be2
1 file changed
+1
-1
@@ -238,7 +238,7 @@ var OptionBase = new Class({
|
||||
createLabel: function(){
|
||||
var self = this;
|
||||
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