showbuttons option ready

This commit is contained in:
vitalets
2012-11-30 16:33:54 +04:00
parent 3dc331cf5b
commit de7907575a
6 changed files with 51 additions and 19 deletions

@ -5,11 +5,8 @@ Editableform based on Twitter Bootstrap
$.extend($.fn.editableform.Constructor.prototype, {
initTemplate: function() {
this.$form = $($.fn.editableform.template);
this.$form.find('.editable-error-block').addClass('help-block');
//buttons
this.$form.find('div.editable-buttons').append($.fn.editableform.buttons);
this.$form = $($.fn.editableform.template);
this.$form.find('.editable-error-block').addClass('help-block');
}
});