()
| 498 | activate: () => { |
| 499 | if (this.initText) this.wrapper.click(); |
| 500 | const doClose = () => { |
| 501 | this.closeActiveTool(); |
| 502 | this.close(); |
| 503 | this.hide(); |
| 504 | }; |
| 505 | |
| 506 | if (this.params.onBeforeClose) { |
| 507 | this.params.onBeforeClose(this.hasUnsaved, doClose); |
nothing calls this directly
no test coverage detected