diff --git a/apps/documenteditor/main/app/view/FormSettings.js b/apps/documenteditor/main/app/view/FormSettings.js index d41dbedf0..85944ed46 100644 --- a/apps/documenteditor/main/app/view/FormSettings.js +++ b/apps/documenteditor/main/app/view/FormSettings.js @@ -208,6 +208,8 @@ define([ value : '' }); this.lockedControls.push(this.txtNewValue); + this.txtNewValue.on('changed:after', this.onAddItem.bind(this)); + this.txtNewValue.on('inputleave', function(){ me.fireEvent('editcomplete', me);}); this.list = new Common.UI.ListView({ el: $markup.findById('#form-list-list'), @@ -217,7 +219,7 @@ define([ itemTemplate: _.template([ '