Placeholder for settings
This commit is contained in:
@@ -24,6 +24,7 @@ config = [{
|
|||||||
'name': 'required_words',
|
'name': 'required_words',
|
||||||
'label': 'Required words',
|
'label': 'Required words',
|
||||||
'default': '',
|
'default': '',
|
||||||
|
'placeholder': 'Example: DTS, AC3 & English',
|
||||||
'description': 'Ignore releases that don\'t contain at least one set of words. Sets are separated by "," and each word within a set must be separated with "&"'
|
'description': 'Ignore releases that don\'t contain at least one set of words. Sets are separated by "," and each word within a set must be separated with "&"'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -436,9 +436,14 @@ Option.String = new Class({
|
|||||||
self.input = new Element('input.inlay', {
|
self.input = new Element('input.inlay', {
|
||||||
'type': 'text',
|
'type': 'text',
|
||||||
'name': self.postName(),
|
'name': self.postName(),
|
||||||
'value': self.getSettingValue()
|
'value': self.getSettingValue(),
|
||||||
|
'placeholder': self.getPlaceholder()
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
},
|
||||||
|
|
||||||
|
getPlaceholder: function(){
|
||||||
|
return this.options.placeholder
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user