fix incorrectly shown datepicker in jquery 1.7.1

This commit is contained in:
vitalets
2012-12-06 14:59:55 +04:00
parent 9d7b75d3d5
commit 34e3f1a277
3 changed files with 15 additions and 6 deletions
src
editable-form
inputs
date
bootstrap-datepicker
test/unit

@ -84,10 +84,9 @@ Editableform is linked with one of input types, e.g. 'text', 'select' etc.
//append form to container
this.$div.append(this.$form);
//attach 'cancel' handler
this.$form.find('.editable-cancel').click($.proxy(this.cancel, this));
// this.$form.find('.editable-buttons button').eq(1).click($.proxy(this.cancel, this));
if(this.input.error) {
this.error(this.input.error);