Placeholder for settings

This commit is contained in:
Ruud
2012-12-04 23:04:48 +01:00
parent 4bffce637e
commit 0c5206f01b
2 changed files with 7 additions and 1 deletions
+6 -1
View File
@@ -436,9 +436,14 @@ Option.String = new Class({
self.input = new Element('input.inlay', {
'type': 'text',
'name': self.postName(),
'value': self.getSettingValue()
'value': self.getSettingValue(),
'placeholder': self.getPlaceholder()
})
);
},
getPlaceholder: function(){
return this.options.placeholder
}
});