activate method in checklist

This commit is contained in:
vitalets 2012-11-28 17:41:50 +04:00
parent ba4a2055f7
commit ee13a2b1fb

@ -99,7 +99,11 @@ $(function(){
html = this.options.limitText.replace('{checked}', $.isArray(value) ? value.length : 0).replace('{count}', this.sourceData.length);
}
$(element).html(html);
}
},
activate: function() {
this.$input.find('input[type="checkbox"]').first().focus();
}
});
Checklist.defaults = $.extend({}, $.fn.editableform.types.list.defaults, {