| 33 | module.exports = (I18NEditModelView = (function () { |
| 34 | I18NEditModelView = class I18NEditModelView extends RootView { |
| 35 | static initClass () { |
| 36 | this.prototype.className = 'editor i18n-edit-model-view' |
| 37 | this.prototype.template = template |
| 38 | |
| 39 | this.prototype.events = { |
| 40 | 'input .translation-input': 'onInputChanged', |
| 41 | 'change #language-select': 'onLanguageSelectChanged', |
| 42 | 'click #patch-submit': 'onSubmitPatch', |
| 43 | 'click .open-patch-link': 'onClickOpenPatchLink' |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | constructor (options, modelHandle) { |
| 48 | super(options) |