add test clear button
This commit is contained in:
@@ -27,6 +27,14 @@ $(function(){
|
||||
render: function () {
|
||||
Textarea.superclass.render.call(this);
|
||||
|
||||
if(this.options.inputclass) {
|
||||
this.$input.addClass(this.options.inputclass);
|
||||
}
|
||||
|
||||
if(this.options.placeholder) {
|
||||
this.$input.attr('placeholder', this.options.placeholder);
|
||||
}
|
||||
|
||||
//ctrl + enter
|
||||
this.$input.keydown(function (e) {
|
||||
if (e.ctrlKey && e.which === 13) {
|
||||
|
Reference in New Issue
Block a user