fix generator in fields

This commit is contained in:
antelle 2016-12-05 13:18:07 +03:00
parent 2416b5fb44
commit 3e01a8eaa2
1 changed files with 2 additions and 1 deletions

View File

@ -33,7 +33,8 @@ var FieldViewText = FieldView.extend({
click: this.fieldValueInputClick.bind(this),
mousedown: this.fieldValueInputMouseDown.bind(this)
});
this.listenTo(Backbone, 'click main-window-will-close user-idle', this.externalEndEdit);
this.listenTo(Backbone, 'click', this.fieldValueBlur);
this.listenTo(Backbone, 'main-window-will-close user-idle', this.externalEndEdit);
if (this.model.multiline) {
this.setInputHeight();
}