add class editable-input

This commit is contained in:
vitalets
2012-11-25 15:11:18 +04:00
parent 69628f131d
commit 40eea34004
3 changed files with 5 additions and 6 deletions

View File

@@ -28,6 +28,7 @@ To create your own input you should inherit from this class.
**/
render: function() {
this.$input = $(this.options.tpl);
this.$input.addClass('editable-input');
if(this.options.inputclass) {
this.$input.addClass(this.options.inputclass);
}

View File

@@ -1,5 +1,5 @@
/**
List of checkboxes. Internally value stored as javascript array.
List of checkboxes. Internally value stored as javascript array of values.
@class checklist
@extends list
@@ -147,4 +147,4 @@ $(function(){
$.fn.editableform.types.checklist = Checklist;
}(window.jQuery));
}(window.jQuery));