(save, commitMessage)
| 102 | } |
| 103 | |
| 104 | acceptPatch (save, commitMessage) { |
| 105 | if (save == null) { save = false } |
| 106 | const delta = this.deltaView.getApplicableDelta() |
| 107 | modelDeltas.applyDelta(this.targetModel, delta) |
| 108 | this.targetModel.saveBackupNow() |
| 109 | this.patch.setStatus('accepted') |
| 110 | this.trigger('accepted-patch', { save, commitMessage }) |
| 111 | return this.hide() |
| 112 | } |
| 113 | |
| 114 | rejectPatch () { |
| 115 | this.patch.setStatus('rejected') |
no test coverage detected