fix g key

This commit is contained in:
antelle 2016-08-15 23:08:17 +03:00
parent 969e60212c
commit a23cc93e65
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ var FieldViewText = FieldView.extend({
e.preventDefault();
this.stopListening(Backbone, 'click', this.fieldValueBlur);
this.endEdit(e.target.value, { tab: { field: this.model.name, prev: e.shiftKey } });
} else if (code === Keys.DOM_VK_G) {
} else if (code === Keys.DOM_VK_G && e.metaKey) {
e.preventDefault();
this.showGenerator();
}