()
| 2102 | } |
| 2103 | |
| 2104 | overwritePrompt():Elem { |
| 2105 | return {c: "modal-overlay", children: [ |
| 2106 | {c: "modal-window", children: [ |
| 2107 | {t: "h3", text: "Overwrite existing copy?"}, |
| 2108 | {c: "flex-row controls", children: [ |
| 2109 | {c: "btn load-btn", text: "load existing", click: this.loadExisting}, |
| 2110 | {c: "btn danger overwrite-btn", text: "overwrite", click: this.overwriteDocument}, |
| 2111 | ]} |
| 2112 | ]} |
| 2113 | ]}; |
| 2114 | } |
| 2115 | |
| 2116 | loadExisting = () => { |
| 2117 | let id = this.overwriteId; |